Changeset 12123

Show
Ignore:
Timestamp:
01/21/08 22:03:30 (5 months ago)
Author:
jburke
Message:

Refs #4573: Convert to dojo.config instead of djConfig internally. \!strict

Location:
dijit/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • dijit/trunk/tests/_testCommon.js

    r12101 r12123  
    2929                                case "locale": 
    3030                                        // locale string | null 
    31                                         djConfig.locale = locale = value; 
     31                                        dojo.config.locale = locale = value; 
    3232                                        break; 
    3333                                case "dir": 
     
    4646 
    4747        // always include the default theme files: 
    48         if(!theme){ theme = djConfig.defaultTestTheme || 'tundra'; } 
     48        if(!theme){ theme = dojo.config.defaultTestTheme || 'tundra'; } 
    4949        var themeCss = d.moduleUrl("dijit.themes",theme+"/"+theme+".css"); 
    5050        var themeCssRtl = d.moduleUrl("dijit.themes",theme+"/"+theme+"_rtl.css"); 
     
    5252        document.write('<link rel="stylesheet" type="text/css" href="'+themeCssRtl+'"/>'); 
    5353 
    54         if(djConfig.parseOnLoad){  
    55                 djConfig.parseOnLoad = false; 
    56                 djConfig._deferParsing = true; 
     54        if(dojo.config.parseOnLoad){  
     55                dojo.config.parseOnLoad = false; 
     56                dojo.config._deferParsing = true; 
    5757        } 
    5858 
     
    7272                d.connect(document,"onkeypress","_testNodeShow"); 
    7373 
    74                 if(djConfig._deferParsing){ d.parser.parse(d.body()); } 
     74                if(dojo.config._deferParsing){ d.parser.parse(d.body()); } 
    7575 
    7676        }); 
  • dijit/trunk/_editor/RichText.js

    r12010 r12123  
    1010// document.write will only work if RichText.js is included in the dojo.js 
    1111// file. If it is included in dojo.js and you want to allow rich text saving 
    12 // for back/forward actions, then set djConfig.allowXdRichTextSave = true. 
    13 if(!djConfig["useXDomain"] || djConfig["allowXdRichTextSave"]){ 
     12// for back/forward actions, then set dojo.config.allowXdRichTextSave = true. 
     13if(!dojo.config["useXDomain"] || dojo.config["allowXdRichTextSave"]){ 
    1414        if(dojo._postLoad){ 
    1515                (function(){ 
     
    303303                this.domNode.appendChild(this.editingArea); 
    304304 
    305                 if(this.name != "" && (!djConfig["useXDomain"] || djConfig["allowXdRichTextSave"])){ 
     305                if(this.name != "" && (!dojo.config["useXDomain"] || dojo.config["allowXdRichTextSave"])){ 
    306306                        var saveTextarea = dojo.byId(dijit._scopeName + "._editor.RichText.savedContent"); 
    307307                        if(saveTextarea.value != ""){