Changeset 7652
- Timestamp:
- 03/18/07 22:14:54 (22 months ago)
- Location:
- dojo/trunk/_base/_loader
- Files:
-
- 2 modified
-
bootstrap.js (modified) (1 diff)
-
hostenv_browser.js (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
dojo/trunk/_base/_loader/bootstrap.js
r7650 r7652 24 24 if(typeof this["djConfig"] == "undefined"){ 25 25 this.djConfig = {}; 26 } 27 28 // firebug stubs 29 if(!this["console"]){ 30 this.console = {}; 31 } 32 var cn = [ 33 "assert", "count", "debug", "dir", "dirxml", "error", "group", 34 "groupEnd", "info", "log", "profile", "profileEnd", "time", 35 "timeEnd", "trace", "warn" 36 ]; 37 var i=0, tn; 38 while(tn=cn[i++]){ 39 if(!console[tn]){ 40 console[tn] = function(){}; 41 } 26 42 } 27 43 -
dojo/trunk/_base/_loader/hostenv_browser.js
r7650 r7652 2 2 dojo.isBrowser = true; 3 3 dojo._name = "browser"; 4 4 5 5 6 // attempt to figure out the path to dojo if it isn't set in the config … … 52 53 })(); 53 54 55 dojo._println = console.debug; 54 56 55 57 // These are in order of decreasing likelihood; this will change in time. … … 163 165 return http.responseText; // String 164 166 } 165 166 dojo._println = console.debug;167 167 168 168 dojo._handleNodeEvent = function(/*DomNode*/node, /*String*/evtName, /*Function*/fp){