I am using yepnope.js to load javascript files dynamically,and I've noticed that my scripts appear to be loaded twice according to Firebug and Webkit Inspector.  The problem is that in Firebug's Net panel (Firefox 4 latest), their response is...
I am trying to (locally) use Yepnope with Modernizr to load CSS & JS Files. So I can manage the files better, and code easily.  This is the currently layout:  Modernizr.load([     {         test: Modernizr.mq('all and (max-width: 1070px)'...
How come this alerts both, yes and false?  Modernizr.load([     {         test: Modernizr.cssgradients,         yep: alert('Supports it!'),         nope: alert('Oh, damn! This browser sucks!')     } ]);   I'm using the latest chro...
Modernizr.load({ both: [a, b] }) seems to executes b before a but that's not how Modernizr is supposed to work? "yepnope.js [used by Modernizr] always executes things in the order they are listed"  Modernizr versions 2.5.3 and 2.6.2.  I&#...
At a certain point on my javascript I have the following (using Modernizr 2.6.2):  Modernizr.load([{     load: '/path/file.js',     complete: function () {         //do stuff     } }]);   It works great most of the time, except on IE8, about...
I googled quite a lot looking for the answer to this question but didn't find anything.  Aside of additionnal functionalities offered by a script loader like yepnope, is it going to give me better performance and better cache management than jQue...
I have been implementing the yepnope script loader as part of the modernizr.js library. I have successfully got jQuery to load and jQuery dependent scripts afterwards. I am new to asynchronous loading of resources, so it's a bit new to me. I have...
Using javascript to asynchronously download another javascript file.  I understand that this can be done by inserting a new script tag onto the page with the src attribute set to the file url.  I also need to run some code when the script is finished...
In the following code dd_belatedpng.js is loading despite the fact that I'm using Firefox 4.0.1. According to the yepnope.js documentation, the ielt7! prefix should cause the script only to load if the browser is IE less than version 7. Is this f...
I am currently starting development of drupal sites on Acquia. Using git and working locally is a new workflow for me. When building locally and trying to utilize  Modernizr load / yepnope, my JS in my script.js file typically looks like this..  Mode...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.