Changeset 12659

Show
Ignore:
Timestamp:
02/23/08 15:12:22 (6 months ago)
Author:
jburke
Message:

Refs #5887. Gets opera to work after page load in xd situation. Opera was downloading modules as part of the dojo.config.require section, which happened before dojo.i18n was downloaded in the xd case. Switch to using nifty conditional include build comments so we can load dojo.i18n for dojo.xd.js before the dojo.config.require section runs in _base/browser.js \!strict

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • util/trunk/buildscripts/jslib/buildUtil.js

    r12579 r12659  
    300300                        if(isXd){ 
    301301                                layerName = layerName.replace(/\.js$/, ".xd.js"); 
    302                         } 
    303  
    304                         //Add dojo.i18n to dojo.xd.js. Too complicated to dynamically load it in that case. 
    305                         if(isXd && layerName == "dojo.xd.js"){ 
    306                                 layer.dependencies.splice(1, 0, "dojo.i18n"); 
    307302                        } 
    308303