Changeset 13534
- Timestamp:
- 05/01/08 16:55:58 (7 months ago)
- Location:
- branches/1.1
- Files:
-
- 2 modified
-
dojo/_base/_loader/hostenv_browser.js (modified) (1 diff)
-
util/buildscripts/jslib/dojoGuardEnd.jsfrag (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/1.1/dojo/_base/_loader/hostenv_browser.js
r12835 r13534 262 262 } 263 263 264 if(dojo.config.afterOnLoad){ 265 //Dojo is being added to the page after page load, so just trigger 266 //the init sequence after a timeout. Using a timeout so the rest of this 267 //script gets evaluated properly. 268 window.setTimeout(dojo._fakeLoadInit, 1000); 269 }else{ 264 if(!dojo.config.afterOnLoad){ 270 265 // START DOMContentLoaded 271 266 // Mozilla and Opera 9 expose the event we could use -
branches/1.1/util/buildscripts/jslib/dojoGuardEnd.jsfrag
r12009 r13534 1 2 if(dojo.config.afterOnLoad && dojo.isBrowser){ 3 //Dojo is being added to the page after page load, so just trigger 4 //the init sequence after a timeout. Using a timeout so the rest of this 5 //script gets evaluated properly. This work needs to happen after the 6 //dojo.config.require work done in dojo._base. 7 window.setTimeout(dojo._fakeLoadInit, 1000); 8 } 1 9 2 10 })();