nessthehero/Lazy.js — Issue #2: Modernizr support for loading
Author: nessthehero
Created: 2012-03-02 13:23:45+00:00
State: open
Labels: enhancement

A `yepnope` style of option should be available to check if whatever value was passed to it is `true`, which will inherently support Modernizr and allow the script to load other scripts based on features.

This can also allow the script to load more than just jquery plugins.

I wonder, since most jQuery plugins are self contained functions that fire immediately when they are loaded, I wonder what issues may come up with lazy loading non-plugin scripts.