summaryrefslogtreecommitdiff
path: root/lib/dojo/jaxer.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/dojo/jaxer.js')
-rw-r--r--lib/dojo/jaxer.js21
1 files changed, 12 insertions, 9 deletions
diff --git a/lib/dojo/jaxer.js b/lib/dojo/jaxer.js
index b9cf0dfe2..fdc492f1c 100644
--- a/lib/dojo/jaxer.js
+++ b/lib/dojo/jaxer.js
@@ -5,15 +5,18 @@
*/
-if(!dojo._hasResource["dojo.jaxer"]){
-dojo._hasResource["dojo.jaxer"]=true;
+if(!dojo._hasResource["dojo.jaxer"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code.
+dojo._hasResource["dojo.jaxer"] = true;
dojo.provide("dojo.jaxer");
-if(typeof print=="function"){
-console.debug=Jaxer.Log.debug;
-console.warn=Jaxer.Log.warn;
-console.error=Jaxer.Log.error;
-console.info=Jaxer.Log.info;
-console.log=Jaxer.Log.warn;
+
+if(typeof print == "function"){
+ console.debug = Jaxer.Log.debug;
+ console.warn = Jaxer.Log.warn;
+ console.error = Jaxer.Log.error;
+ console.info = Jaxer.Log.info;
+ console.log = Jaxer.Log.warn;
}
-onserverload=dojo._loadInit;
+
+onserverload = dojo._loadInit;
+
}