Today, I have a headache. A serious headache, and that’s why being efficient is more important today than usual. If I think well, programmers get headaches more often, and it usually happens because of some coding problems. In my case, it’s because some air conditioning device… I guess you got the idea, and since I don’t even want to think about it, let’s help JavaScript programmers relax, shall we?
LABjs is a tiny library that has only 1.6k (compressed) in size, and its main purpose is to allow you to easily define file dependencies, and then load them with maximum efficiency. While it may not be one of its kind, LABjs deserves your attention, since it helps running multiple scripts by loading them at once in groups, waiting for each group of scripts to finish, then move on.
Current version of the script is only 0.5.1, so if you have problems with this, I think you should wait for LABjs to become a bit more mature. On the other hand, since this library got the attention of more programming blogs, I guess that you won’t waste your time if you play with it for a while…
Compatibility: any major browser with JavaScript support should handle code including LABjs (IE6, IE7, IE8, FF2, FF3, FF3.5, Chrome 2, Opera 9.6, Safari 4 were tested so far)… after all, we’re only talking about a very small library without any visual effect in your projects