[Pkg-javascript-commits] [dojo] 05/09: Refs #5887: move afterOnLoad kickoff after the dojo.config.require work in dojo._base.
David Prévot
taffit at moszumanska.debian.org
Mon May 11 20:11:55 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to annotated tag 1.1.1
in repository dojo.
commit be0e58092ce5f27d958e3b99f68598a03cc2a080
Author: James Burke <jrburke at gmail.com>
Date: Thu May 1 23:55:58 2008 +0000
Refs #5887: move afterOnLoad kickoff after the dojo.config.require work in dojo._base.
git-svn-id: http://svn.dojotoolkit.org/src/branches/1.1/dojo@13534 560b804f-0ae3-0310-86f3-f6aa0a117693
---
_base/_loader/hostenv_browser.js | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/_base/_loader/hostenv_browser.js b/_base/_loader/hostenv_browser.js
index b988a27..f508830 100644
--- a/_base/_loader/hostenv_browser.js
+++ b/_base/_loader/hostenv_browser.js
@@ -261,12 +261,7 @@ if(typeof window != 'undefined'){
dojo._loadInit({type: "load"});
}
- if(dojo.config.afterOnLoad){
- //Dojo is being added to the page after page load, so just trigger
- //the init sequence after a timeout. Using a timeout so the rest of this
- //script gets evaluated properly.
- window.setTimeout(dojo._fakeLoadInit, 1000);
- }else{
+ if(!dojo.config.afterOnLoad){
// START DOMContentLoaded
// Mozilla and Opera 9 expose the event we could use
if(document.addEventListener){
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/dojo.git
More information about the Pkg-javascript-commits
mailing list