Changeset 7401
- Timestamp:
- 02/22/07 11:53:00 (21 months ago)
- Files:
-
- 1 modified
-
trunk/src/loader_xd.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/loader_xd.js
r7349 r7401 120 120 121 121 //Add to waiting packages. 122 this.xdInFlight[module] = true; 122 //Only add it if not a non-xdomain i18n resource bundle. 123 if(!currentIsXDomain && uri.indexOf("/nls/") == -1){ 124 this.xdInFlight[module] = true; 125 } 123 126 124 127 //Increment inFlightCount … … 157 160 if(contents == null){ return 0; /*boolean*/} 158 161 159 if(this.isXDomain){ 162 //If this is not xdomain, or if loading a i18n resource bundle, then send it down 163 //the normal eval/callback path. 164 if(this.isXDomain && uri.indexOf("/nls/") == -1){ 160 165 var pkg = this.createXdPackage(contents, module, uri); 161 166 dj_eval(pkg);