Changeset 12124
- Timestamp:
- 01/21/08 22:03:57 (6 months ago)
- Location:
- dojox/trunk
- Files:
-
- 11 modified
-
cometd/_base.js (modified) (5 diffs)
-
flash/_common.js (modified) (3 diffs)
-
gfx.js (modified) (1 diff)
-
io/proxy/xip.js (modified) (1 diff)
-
off/files.js (modified) (3 diffs)
-
off/ui.js (modified) (1 diff)
-
off/_common.js (modified) (1 diff)
-
storage/FlashStorageProvider.js (modified) (2 diffs)
-
storage/GearsStorageProvider.js (modified) (1 diff)
-
storage/manager.js (modified) (1 diff)
-
storage/WhatWGStorageProvider.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
dojox/trunk/cometd/_base.js
r12077 r12124 91 91 props.id = ""+this.messageId++; 92 92 93 this.url = root||d jConfig["cometdRoot"];93 this.url = root||dojo.config["cometdRoot"]; 94 94 if(!this.url){ 95 95 console.debug("no cometd root specified in djConfig and no root passed"); … … 688 688 } 689 689 return dojo.xhrPost({ 690 url: this._cometd.url||d jConfig["cometdRoot"],690 url: this._cometd.url||dojo.config["cometdRoot"], 691 691 handleAs: this._cometd.handleAs, 692 692 load: dojo.hitch(this._cometd, "deliver"), … … 710 710 message=this._cometd._extendOut(message); 711 711 dojo.xhrPost({ 712 url: this._cometd.url||d jConfig["cometdRoot"],712 url: this._cometd.url||dojo.config["cometdRoot"], 713 713 handleAs: this._cometd.handleAs, 714 714 content: { … … 773 773 } 774 774 var bindArgs = { 775 url: this._cometd.url||d jConfig["cometdRoot"],775 url: this._cometd.url||dojo.config["cometdRoot"], 776 776 load: dojo.hitch(this._cometd, "deliver"), 777 777 callbackParamName: "jsonp", … … 796 796 message=this._cometd._extendOut(message); 797 797 dojo.io.script.get({ 798 url: this._cometd.url||d jConfig["cometdRoot"],798 url: this._cometd.url||dojo.config["cometdRoot"], 799 799 callbackParamName: "jsonp", 800 800 content: { -
dojox/trunk/flash/_common.js
r8897 r12124 648 648 649 649 // detect if the user has over-ridden the default flash version 650 if (typeof d jConfig["forceFlashComm"] != "undefined" &&651 typeof d jConfig["forceFlashComm"] != null){652 this.commVersion = d jConfig["forceFlashComm"];650 if (typeof dojo.config["forceFlashComm"] != "undefined" && 651 typeof dojo.config["forceFlashComm"] != null){ 652 this.commVersion = dojo.config["forceFlashComm"]; 653 653 return; 654 654 } … … 733 733 if(flashVer == 6){ 734 734 swfloc = dojox.flash.flash6_version; 735 var dojoPath = d jConfig.baseRelativePath;735 var dojoPath = dojo.config.baseRelativePath; 736 736 swfloc = swfloc + "?baseRelativePath=" + escape(dojoPath); 737 737 objectHTML = … … 749 749 var swflocObject = swfloc; 750 750 var swflocEmbed = swfloc; 751 var dojoPath = d jConfig.baseRelativePath;751 var dojoPath = dojo.config.baseRelativePath; 752 752 if(doExpressInstall){ 753 753 // the location to redirect to after installing -
dojox/trunk/gfx.js
r11431 r12124 5 5 6 6 (function(){ 7 var renderers = (typeof d jConfig["gfxRenderer"] == "string" ?8 d jConfig["gfxRenderer"] : "svg,vml,silverlight,canvas").split(",");7 var renderers = (typeof dojo.config["gfxRenderer"] == "string" ? 8 dojo.config["gfxRenderer"] : "svg,vml,silverlight,canvas").split(","); 9 9 for(var i = 0; i < renderers.length; ++i){ 10 10 switch(renderers[i]){ -
dojox/trunk/io/proxy/xip.js
r11911 r12124 12 12 //Usage of XHR IFrame Proxying does not work from local disk in Safari. 13 13 14 xipClientUrl: d jConfig["xipClientUrl"] || dojo.moduleUrl("dojox.io.proxy", "xip_client.html"),14 xipClientUrl: dojo.config["xipClientUrl"] || dojo.moduleUrl("dojox.io.proxy", "xip_client.html"), 15 15 16 16 _state: {}, -
dojox/trunk/off/files.js
r9628 r12124 173 173 // empty array with length 0. 174 174 try{ 175 if(d jConfig.isDebug){175 if(dojo.config.isDebug){ 176 176 this.printURLs(); 177 177 } … … 182 182 this._getVersionInfo(function(oldVersion, newVersion, justDebugged){ 183 183 //console.warn("getVersionInfo, oldVersion="+oldVersion+", newVersion="+newVersion 184 // + ", justDebugged="+justDebugged+", isDebug="+d jConfig.isDebug);185 if(d jConfig.isDebug || !newVersion || justDebugged184 // + ", justDebugged="+justDebugged+", isDebug="+dojo.config.isDebug); 185 if(dojo.config.isDebug || !newVersion || justDebugged 186 186 || !oldVersion || oldVersion != newVersion){ 187 187 console.warn("Refreshing offline file list"); … … 404 404 dojox.off.STORAGE_NAMESPACE); 405 405 } 406 dojox.storage.put("justDebugged", d jConfig.isDebug, null,406 dojox.storage.put("justDebugged", dojo.config.isDebug, null, 407 407 dojox.off.STORAGE_NAMESPACE); 408 408 callback(false, []); -
dojox/trunk/off/ui.js
r12011 r12124 244 244 // can customize itself and display itself 245 245 // correctly based on framework settings 246 var dojoPath = d jConfig.baseRelativePath;246 var dojoPath = dojo.config.baseRelativePath; 247 247 this.learnHowPath += "?appName=" + encodeURIComponent(this.appName) 248 248 + "&hasOfflineCache=" + dojox.off.hasOfflineCache -
dojox/trunk/off/_common.js
r9623 r12124 282 282 // workaround or else we will get an error on page load 283 283 // from Dojo that it can't find 'console.debug' for optimized builds 284 // dojox.off.files.cache(d jConfig.baseRelativePath + "src/debug.js");284 // dojox.off.files.cache(dojo.config.baseRelativePath + "src/debug.js"); 285 285 286 286 // make sure that resources needed by all of our underlying -
dojox/trunk/storage/FlashStorageProvider.js
r10275 r12124 17 17 18 18 initialize: function(){ 19 if(d jConfig["disableFlashStorage"] == true){19 if(dojo.config["disableFlashStorage"] == true){ 20 20 return; 21 21 } … … 60 60 61 61 isAvailable: function(){ 62 return (this._available = !d jConfig["disableFlashStorage"]);62 return (this._available = !dojo.config["disableFlashStorage"]); 63 63 }, 64 64 -
dojox/trunk/storage/GearsStorageProvider.js
r10217 r12124 34 34 initialize: function(){ 35 35 //console.debug("dojox.storage.GearsStorageProvider.initialize"); 36 if(d jConfig["disableGearsStorage"] == true){36 if(dojo.config["disableGearsStorage"] == true){ 37 37 return; 38 38 } -
dojox/trunk/storage/manager.js
r10275 r12124 73 73 // storage provider type, such as 74 74 // djConfig = {forceStorageProvider: "dojox.storage.WhatWGStorageProvider"}; 75 var forceProvider = d jConfig["forceStorageProvider"]||false;75 var forceProvider = dojo.config["forceStorageProvider"]||false; 76 76 77 77 // go through each provider, seeing if it can be used -
dojox/trunk/storage/WhatWGStorageProvider.js
r10052 r12124 28 28 29 29 initialize: function(){ 30 if(d jConfig["disableWhatWGStorage"] == true){30 if(dojo.config["disableWhatWGStorage"] == true){ 31 31 return; 32 32 }