feat(JQLite): ready() now supports document.readyState=='complete'
JQLite.ready() used for automatic bootstrapping (when jQuery is not present) now checks if document already is ready when first called. This simplifies bootstrapping when the angular script is loaded asynchronously. However if other scripts with angular app code are being loaded as well it is developers responsibility to ensure that these scripts are loaded after angular-loader.js is evaluated and before angular.js script is evaluated.
J
Jørgen Borgesen committed
753fc9e58d5e554d4930548558efecc283557eeb
Parent: 6a612df
Committed by Igor Minar <igor@angularjs.org>
on 2/25/2013, 11:32:14 PM