Changeset 7885
- Timestamp:
- 03/31/07 21:40:49 (22 months ago)
- Location:
- trunk
- Files:
-
- 1 modified
- 1 copied
-
src/loader_xd.js (modified) (1 diff)
-
tests/loader/2683 (copied) (copied from branches/0.4/tests/loader/2683)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/loader_xd.js
r7606 r7885 172 172 var pkg = this.createXdPackage(contents, module, uri); 173 173 dj_eval(pkg); 174 //When loading local modules only, there will be no 175 //modules in flight. In that case, trigger the xd 176 //resolution right away. Otherwise, there are issues 177 //with dojo.addOnLoad() calls added after loading only 178 //local modules after the page load. 179 if(this.inFlightCount == 0){ 180 this.watchInFlightXDomain(); 181 } 174 182 }else{ 175 183 if(cb){ contents = '('+contents+')'; }