Questions tagged [asynchronous-loader]
3 questions
15
votes
5 answers
How can I use yepnope.js with $(document).ready() effectively?
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…

Ash Clarke
- 4,807
- 1
- 37
- 48
1
vote
3 answers
Is there a provision in LABJS for a callback function if loading times out?
I am asynchronously loading scripts through LabJS and have a chain of dependent scripts. Now if one of the scripts in the chain breaks (in the sense that it can not be downloaded, or connection times out) I believe that the remaining scripts under…

lorefnon
- 12,875
- 6
- 61
- 93
0
votes
1 answer
Recommended usage for async javascript loaders
Just started looking at asynchronous javascript loading libs such as lab.js and script.js. My question is about best practises for using this type of async loading pattern.
I've thought of a couple possible setups:
Load the async loader at the top…

brad
- 31,987
- 28
- 102
- 155