source: Dev/trunk/src/client/util/buildscripts/jslib/dojoGuardEnd.jsfrag @ 483

Last change on this file since 483 was 483, checked in by hendrikvanantwerpen, 11 years ago

Added Dojo 1.9.3 release.

File size: 584 bytes
Line 
1        //INSERT dojo.i18n._preloadLocalizations HERE
2
3        //Check if document already complete, and if so, just trigger page load
4        //listeners. NOTE: does not work with Firefox before 3.6. To support
5        //those browsers, set djConfig.afterOnLoad = true when you know Dojo is added
6        //after page load. Using a timeout so the rest of this
7        //script gets evaluated properly. This work needs to happen after the
8        //dojo.config.require work done in dojo._base.
9        if(dojo.isBrowser && (document.readyState === "complete" || dojo.config.afterOnLoad)){
10                window.setTimeout(dojo._loadInit, 100);
11        }
12})();
Note: See TracBrowser for help on using the repository browser.