Changeset 8006
- Timestamp:
- 04/08/07 12:44:31 (21 months ago)
- Location:
- trunk
- Files:
-
- 2 modified
- 1 copied
-
src/loader_xd.js (modified) (2 diffs)
-
tests/loader/2683/test_delayedLocalLoadDebug.html (copied) (copied from branches/0.4/tests/loader/2683/test_delayedLocalLoadDebug.html)
-
tests/widget/acme/test_RemoteAcmeButton.html (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/loader_xd.js
r7885 r8006 120 120 121 121 //Add to waiting packages if it is an xdomain resource. 122 if(currentIsXDomain){ 122 //Don't add non-xdomain i18n bundles, those get evaled immediately. 123 if(currentIsXDomain || uri.indexOf("/nls/") == -1){ 123 124 this.xdInFlight[module] = true; 124 125 … … 172 173 var pkg = this.createXdPackage(contents, module, uri); 173 174 dj_eval(pkg); 174 //When loading local modules only, there will be no175 //modules in flight. In that case, trigger the xd176 //resolution right away. Otherwise, there are issues177 //with dojo.addOnLoad() calls added after loading only178 //local modules after the page load.179 if(this.inFlightCount == 0){180 this.watchInFlightXDomain();181 }182 175 }else{ 183 176 if(cb){ contents = '('+contents+')'; } -
trunk/tests/widget/acme/test_RemoteAcmeButton.html
r5359 r8006 14 14 aksd = 65/87; 15 15 } 16 djConfig.baseScriptUri = "../../../"; //for xdomain testing. 16 17 </script> 17 18