yepnopejs

yepnope is an asynchronous conditional resource loader that’s super-fast, and allows you to load only the scripts that your users need.

cdl_capture_2012-02-10-39_ 000

What’s new in yepnope 1.5.2?

  • Scripts with the same url won’t execute twice, but their callbacks fire in the correct order.
  • The complete function behaves much more like the callback function with respect to ‘recursive yepnope’.
  • CSS load callbacks were taken out by default and put in an official plugin. Too few people used it. Old code will still work, callbacks will just fire immediately on CSS (unless css load plugin is included).
  • We exposed yepnope.injectJs and yepnope.injectCss in order to give you direct access to the injection functions.

Source

http://yepnopejs.com/

Leave a comment