News for hackers. Stuff that matters.
Re:The only script in your head by Griever on Tuesday November 30, 2010 @03:13PM (#1955405)
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?

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/

Re:The only script in your head by Griever on Tuesday November 30, 2010 @05:06PM (#1955773)
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/