Release Notes

1.0.2rc1:
A number of tweaks and minor bug fixes. No more use of "rel" attributes on preload script tags. Changed the mimetype for preload script tags to "script/cache" (from "text/html"). Uses "insertBefore()" when adding scripts to the <head> to avoid possible bugs in IE6. Also, fixes use of live node lists to prevent bugs with IE where the list is invalidated after the DOM is changed.

1.0.1:
You knew there had to be an obligatory, right-after-release, oops-crap-i-just-found-a-bug, patch. This is that patch. Fixes a corner case error where if you happen to end your chain with just a script() statement and no wait() statement, the end of the chain is never detected (which causes the final script to never execute!).

1.0:
Final production release. 4.5k minified, 2.1k gzip'd. Have fun!

1.0rc5:
More optimizations for file-size. Also, changed XHR monitoring from setInterval() polling to a "onreadystatechange" handler.

1.0rc4:
Added a "hack" suggested by Andrea Giammarchi and adapted from: http://webreflection.blogspot.com/2009/11/195-chars-to-help-lazy-loading.html NOTE: this hack only operates in FF and then only in versions where document.readyState is not present (FF < 3.6?).

The hack essentially "patches" the page that LABjs is loaded onto so that it has a proper conforming document.readyState, so that if a script which does proper and safe dom-ready detection is loaded onto a page, after dom-ready has passed, it will still be able to detect this state, by inspecting the now hacked document.readyState property. The loaded script in question can then immediately trigger any queued code executions that were waiting for the DOM to be ready. For instance, jQuery > 1.3.2 has been patched to take advantage of document.readyState, which is enabled by this hack. But 1.3.2 and before are **not** safe or affected by this hack, and should therefore **not** be lazy-loaded by script loader tools such as LABjs.

1.0rc3:
More tweaks to reduce file-size and improve performance. Also, fLABjs is now included, which is a special API wrapper for usage of LABjs in file:// local filesystem environments. Source on github here.

1.0rc2:
Tweaks for performance, changes to browser sniffing "hacks".

1.0rc1:
Huge reworking, adding the new "preloading" feature, new API. Documentation Coming Soon!

0.9:
Further improvements to code, including smaller size (2.1k now!), and more efficient run-time execution.