Re:The only script in your head
by bretthopper on Tuesday November 30, 2010 @03:54PM
(#1955540)
I'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/
Thanks! 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 :)
Re:The only script in your head
by patrickaljord on Tuesday November 30, 2010 @07:06PM
(#1956167)
give yepnope a try http://yepnopejs.com/
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?