Changeset 8007
- Timestamp:
- 04/08/07 12:46:06 (21 months ago)
- Files:
-
- 1 modified
-
dojo/trunk/_base/_loader/loader_xd.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
dojo/trunk/_base/_loader/loader_xd.js
r7886 r8007 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+')'; }