3 ms·
I've been reading up alot on javascript loaders lately to see which one I should use in the webapp I'm currently building. So far I'm checking out LABjs, Requi
by Griever 16y ago
I've been reading up alot on javascript loaders lately to see which one I should use in the webapp I'm currently building.
So far I'm checking out LABjs, RequireJS and now apparently headjs. Unfortunately I am not so sure which will suit me best. Has anybody had any luck with any of the aforementioned three?
- bretthopper 16y agoI've used LABjs and it worked great. It's also the most "focused" loader in the sense that it only does javascript loading. RequireJS also includes a module system and some optimization tools. headjs unnecessarily includes CSS feature detection and screen resolution. If you want feature detection, nothing is better than Modernizer: http://www.modernizr.com/ http://www.modernizr.com/
- Griever 16y agoThanks! Yeah I've become quite accustomed to using Modernizr (thanks to inclusion in the Html5Boilerplate). LABjs always seemed like the most straightforward to me, so its nice to hear that others agree :)
- patrickaljord 16y agogive yepnope a try http://yepnopejs.com/ http://yepnopejs.com/