Changeset 7657
- Timestamp:
- 03/19/07 01:22:43 (22 months ago)
- Location:
- dojo/trunk/_base/_loader
- Files:
-
- 5 modified
-
bootstrap.js (modified) (3 diffs)
-
hostenv_browser.js (modified) (1 diff)
-
hostenv_rhino.js (modified) (1 diff)
-
hostenv_spidermonkey.js (modified) (1 diff)
-
loader.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
dojo/trunk/_base/_loader/bootstrap.js
r7652 r7657 149 149 } 150 150 151 //Stub functions so things don't break.152 //TODOC: HOW TO DOC THESE?153 dojo.debug = function(){};154 dojo.debugShallow = function(obj){};155 dojo.profile = {156 start: function(){},157 end: function(){},158 stop: function(){},159 dump: function(){}160 };161 162 151 dojo["eval"] = function(/*String*/ scriptFragment){ 163 152 // summary: … … 184 173 if(extra){ message += " " + extra; } 185 174 if(removal){ message += " -- will be removed in version: " + removal; } 186 dojo.debug(message);175 console.debug(message); 187 176 } 188 177 … … 206 195 message += " -- Not yet ready for use. APIs subject to change without notice."; 207 196 if(extra){ message += " " + extra; } 208 dojo.debug(message);197 console.debug(message); 209 198 } 210 199 -
dojo/trunk/_base/_loader/hostenv_browser.js
r7652 r7657 133 133 if(4==http.readyState){ 134 134 if(isDocumentOk(http)){ 135 // dojo.debug("LOADED URI: "+uri);135 // console.debug("LOADED URI: "+uri); 136 136 async_cb(http.responseText); 137 137 } -
dojo/trunk/_base/_loader/hostenv_rhino.js
r7649 r7657 1 1 /* 2 2 * Rhino host environment 3 */4 5 /*6 dojo.hostenv.println=function(line){7 if(arguments.length > 0){8 print(arguments[0]);9 for(var i=1; i<arguments.length; i++){10 var valid=false;11 for (var p in arguments[i]){valid=true;break;}12 if(valid){13 dojo.debugShallow(arguments[i]);14 }15 }16 } else {17 print(line);18 }19 }20 3 */ 21 4 -
dojo/trunk/_base/_loader/hostenv_spidermonkey.js
r7649 r7657 50 50 // Perhaps it is returning the value of the last thing evaluated? 51 51 var ok = load(uri); 52 // dojo.debug("spidermonkey load(", uri, ") returned ", ok);52 // console.debug("spidermonkey load(", uri, ") returned ", ok); 53 53 return 1; 54 54 } 55 56 dojo.requireIf((djConfig["isDebug"] || djConfig["debugAtAllCosts"]), "dojo.debug");57 -
dojo/trunk/_base/_loader/loader.js
r7656 r7657 123 123 ok = this._loadUri(uri, cb); 124 124 }catch(e){ 125 dojo.debug("failed loading ", uri, " with error: ", e);125 console.debug("failed loading ", uri, " with error: ", e); 126 126 } 127 127 return Boolean(ok && this.findModule(moduleName, false)); // Boolean … … 197 197 if(this._postLoad){ return; } 198 198 if(this._inFlightCount > 0){ 199 dojo.debug("files still in flight!");199 console.debug("files still in flight!"); 200 200 return; 201 201 }