Changes between Version 1 and Version 2 of Ticket #14972


Ignore:
Timestamp:
Mar 6, 2012, 8:53:11 PM (8 years ago)
Author:
Colin Snover
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #14972 – Description

    v1 v2  
    11I’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:
    22
    3 1. dojo.js:1466 @if(has("dojo-sync-loader") && legacyMode && !waiting[mid]){@
    4 2. dojo.js:1667 @if(targetModule && !waiting[targetModule.mid]){@
     31. dojo.js:1466 `if(has("dojo-sync-loader") && legacyMode && !waiting[mid]){`
     42. dojo.js:1667 `if(targetModule && !waiting[targetModule.mid]){`
    55
    66Steps to reproduce:
     
    2525}}}
    2626
    27 Expected: concat.php and dijit-all_en-us.js load.
     27Expected: concat.php and dijit-all_en-us.js load.[[BR]]
    2828Actual: those scripts plus 8 additional scripts load.