Changeset 12124

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

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

Location:
dojox/trunk
Files:
11 modified

Legend:

Unmodified
Added
Removed
  • dojox/trunk/cometd/_base.js

    r12077 r12124  
    9191                props.id = ""+this.messageId++; 
    9292 
    93                 this.url = root||djConfig["cometdRoot"]; 
     93                this.url = root||dojo.config["cometdRoot"]; 
    9494                if(!this.url){ 
    9595                        console.debug("no cometd root specified in djConfig and no root passed"); 
     
    688688                } 
    689689                return dojo.xhrPost({ 
    690                         url: this._cometd.url||djConfig["cometdRoot"], 
     690                        url: this._cometd.url||dojo.config["cometdRoot"], 
    691691                        handleAs: this._cometd.handleAs, 
    692692                        load: dojo.hitch(this._cometd, "deliver"), 
     
    710710                message=this._cometd._extendOut(message); 
    711711                dojo.xhrPost({ 
    712                         url: this._cometd.url||djConfig["cometdRoot"], 
     712                        url: this._cometd.url||dojo.config["cometdRoot"], 
    713713                        handleAs: this._cometd.handleAs, 
    714714                        content: { 
     
    773773                } 
    774774                var bindArgs = { 
    775                         url: this._cometd.url||djConfig["cometdRoot"], 
     775                        url: this._cometd.url||dojo.config["cometdRoot"], 
    776776                        load: dojo.hitch(this._cometd, "deliver"), 
    777777                        callbackParamName: "jsonp", 
     
    796796                message=this._cometd._extendOut(message);                
    797797                dojo.io.script.get({ 
    798                         url: this._cometd.url||djConfig["cometdRoot"], 
     798                        url: this._cometd.url||dojo.config["cometdRoot"], 
    799799                        callbackParamName: "jsonp", 
    800800                        content: { 
  • dojox/trunk/flash/_common.js

    r8897 r12124  
    648648                 
    649649                // detect if the user has over-ridden the default flash version 
    650                 if (typeof djConfig["forceFlashComm"] != "undefined" && 
    651                                 typeof djConfig["forceFlashComm"] != null){ 
    652                         this.commVersion = djConfig["forceFlashComm"]; 
     650                if (typeof dojo.config["forceFlashComm"] != "undefined" && 
     651                                typeof dojo.config["forceFlashComm"] != null){ 
     652                        this.commVersion = dojo.config["forceFlashComm"]; 
    653653                        return; 
    654654                } 
     
    733733                if(flashVer == 6){ 
    734734                        swfloc = dojox.flash.flash6_version; 
    735                         var dojoPath = djConfig.baseRelativePath; 
     735                        var dojoPath = dojo.config.baseRelativePath; 
    736736                        swfloc = swfloc + "?baseRelativePath=" + escape(dojoPath); 
    737737                        objectHTML =  
     
    749749                        var swflocObject = swfloc; 
    750750                        var swflocEmbed = swfloc; 
    751                         var dojoPath = djConfig.baseRelativePath; 
     751                        var dojoPath = dojo.config.baseRelativePath; 
    752752                        if(doExpressInstall){ 
    753753                                // the location to redirect to after installing 
  • dojox/trunk/gfx.js

    r11431 r12124  
    55 
    66(function(){ 
    7         var renderers = (typeof djConfig["gfxRenderer"] == "string" ? 
    8                 djConfig["gfxRenderer"] : "svg,vml,silverlight,canvas").split(","); 
     7        var renderers = (typeof dojo.config["gfxRenderer"] == "string" ? 
     8                dojo.config["gfxRenderer"] : "svg,vml,silverlight,canvas").split(","); 
    99        for(var i = 0; i < renderers.length; ++i){ 
    1010                switch(renderers[i]){ 
  • dojox/trunk/io/proxy/xip.js

    r11911 r12124  
    1212        //Usage of XHR IFrame Proxying does not work from local disk in Safari. 
    1313 
    14         xipClientUrl: djConfig["xipClientUrl"] || dojo.moduleUrl("dojox.io.proxy", "xip_client.html"), 
     14        xipClientUrl: dojo.config["xipClientUrl"] || dojo.moduleUrl("dojox.io.proxy", "xip_client.html"), 
    1515 
    1616        _state: {}, 
  • dojox/trunk/off/files.js

    r9628 r12124  
    173173                //      empty array with length 0. 
    174174                try{ 
    175                         if(djConfig.isDebug){ 
     175                        if(dojo.config.isDebug){ 
    176176                                this.printURLs(); 
    177177                        } 
     
    182182                                this._getVersionInfo(function(oldVersion, newVersion, justDebugged){ 
    183183                                        //console.warn("getVersionInfo, oldVersion="+oldVersion+", newVersion="+newVersion 
    184                                         //                              + ", justDebugged="+justDebugged+", isDebug="+djConfig.isDebug); 
    185                                         if(djConfig.isDebug || !newVersion || justDebugged  
     184                                        //                              + ", justDebugged="+justDebugged+", isDebug="+dojo.config.isDebug); 
     185                                        if(dojo.config.isDebug || !newVersion || justDebugged  
    186186                                                        || !oldVersion || oldVersion != newVersion){ 
    187187                                                console.warn("Refreshing offline file list"); 
     
    404404                                                                        dojox.off.STORAGE_NAMESPACE); 
    405405                                } 
    406                                 dojox.storage.put("justDebugged", djConfig.isDebug, null, 
     406                                dojox.storage.put("justDebugged", dojo.config.isDebug, null, 
    407407                                                                        dojox.off.STORAGE_NAMESPACE); 
    408408                                callback(false, []); 
  • dojox/trunk/off/ui.js

    r12011 r12124  
    244244                        // can customize itself and display itself 
    245245                        // correctly based on framework settings 
    246                         var dojoPath = djConfig.baseRelativePath; 
     246                        var dojoPath = dojo.config.baseRelativePath; 
    247247                        this.learnHowPath += "?appName=" + encodeURIComponent(this.appName) 
    248248                                                                        + "&hasOfflineCache=" + dojox.off.hasOfflineCache 
  • dojox/trunk/off/_common.js

    r9623 r12124  
    282282                // workaround or else we will get an error on page load 
    283283                // from Dojo that it can't find 'console.debug' for optimized builds 
    284                 // dojox.off.files.cache(djConfig.baseRelativePath + "src/debug.js"); 
     284                // dojox.off.files.cache(dojo.config.baseRelativePath + "src/debug.js"); 
    285285                 
    286286                // make sure that resources needed by all of our underlying 
  • dojox/trunk/storage/FlashStorageProvider.js

    r10275 r12124  
    1717                 
    1818                initialize: function(){ 
    19                         if(djConfig["disableFlashStorage"] == true){ 
     19                        if(dojo.config["disableFlashStorage"] == true){ 
    2020                                return; 
    2121                        } 
     
    6060 
    6161                isAvailable: function(){ 
    62                         return (this._available = !djConfig["disableFlashStorage"]); 
     62                        return (this._available = !dojo.config["disableFlashStorage"]); 
    6363                }, 
    6464 
  • dojox/trunk/storage/GearsStorageProvider.js

    r10217 r12124  
    3434                        initialize: function(){ 
    3535                                //console.debug("dojox.storage.GearsStorageProvider.initialize"); 
    36                                 if(djConfig["disableGearsStorage"] == true){ 
     36                                if(dojo.config["disableGearsStorage"] == true){ 
    3737                                        return; 
    3838                                } 
  • dojox/trunk/storage/manager.js

    r10275 r12124  
    7373                // storage provider type, such as  
    7474                // djConfig = {forceStorageProvider: "dojox.storage.WhatWGStorageProvider"}; 
    75                 var forceProvider = djConfig["forceStorageProvider"]||false; 
     75                var forceProvider = dojo.config["forceStorageProvider"]||false; 
    7676 
    7777                // go through each provider, seeing if it can be used 
  • dojox/trunk/storage/WhatWGStorageProvider.js

    r10052 r12124  
    2828         
    2929        initialize: function(){ 
    30                 if(djConfig["disableWhatWGStorage"] == true){ 
     30                if(dojo.config["disableWhatWGStorage"] == true){ 
    3131                        return; 
    3232                }