uglipop.js
uglipop.js copied to clipboard
Initialization issues with on-demand loading
The init call doesn't fire when being loaded with eg. yepnope or headjs. Thus, on-demand loading with jQuery + similar frameworks should fail as well.
My current workaround for headjs is adding a head.ready call directly. But that's certainly NOT how it's supposed to be.
cu, w0lf.
Workaround example
//init on window loaded
on(doc, "DOMContentLoaded", init)
head.ready( init );
})(window, document)