source: Dev/branches/rest-dojo-ui/client/util/buildscripts/jslib/dojoGuardEnd.jsfrag @ 257

Last change on this file since 257 was 256, checked in by hendrikvanantwerpen, 13 years ago

Reworked project structure based on REST interaction and Dojo library. As
soon as this is stable, the old jQueryUI branch can be removed (it's
kept for reference).

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.