News for hackers. Stuff that matters.
Re:Show HN: Cross-browser asynchronous JS script loader w/ca... by alagappanr on Tuesday September 04, 2012 @12:41AM (#4473155)
The question might be naive, but can you tell me the advantage of using this?
Re:Show HN: Cross-browser asynchronous JS script loader w/ca... by jonny_eh on Tuesday September 04, 2012 @02:30AM (#4473414)
Normally, you would load javascript files by inserting a <script src="whatever.js"> tag into your HTML document's <HEAD> or <BODY>. The big disadvantage to that is it's synchronous. That means no rendering or executing of javascript can occur while that js file is being run.

This library would allow you to run it asynchronously, so that other js code can continue to run.

Re:Show HN: Cross-browser asynchronous JS script loader w/ca... by pizza on Tuesday September 04, 2012 @01:51AM (#4473326)
Basically, it lets you run a function once a javascript file has been loaded.