Changes between Version 1 and Version 2 of Ticket #14972
- Timestamp:
- Mar 6, 2012, 8:53:11 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #14972 – Description
v1 v2 1 1 I’m trying to create a concatenation of built layers that uses flattened NLS bundles. Unfortunately, it seems that there are at least two places in the loader where dependencies are preemptively requested in response to `define` calls, which means that, though the chain of dependencies, these files are required *in addition to* their constituent files. The locations in the 1.7 branch corresponding to this problem appear to be: 2 2 3 1. dojo.js:1466 @if(has("dojo-sync-loader") && legacyMode && !waiting[mid]){@4 2. dojo.js:1667 @if(targetModule && !waiting[targetModule.mid]){@3 1. dojo.js:1466 `if(has("dojo-sync-loader") && legacyMode && !waiting[mid]){` 4 2. dojo.js:1667 `if(targetModule && !waiting[targetModule.mid]){` 5 5 6 6 Steps to reproduce: … … 25 25 }}} 26 26 27 Expected: concat.php and dijit-all_en-us.js load. 27 Expected: concat.php and dijit-all_en-us.js load.[[BR]] 28 28 Actual: those scripts plus 8 additional scripts load.