summaryrefslogtreecommitdiff
path: root/includes/js/dojo/jaxer.js
diff options
context:
space:
mode:
Diffstat (limited to 'includes/js/dojo/jaxer.js')
-rw-r--r--includes/js/dojo/jaxer.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/includes/js/dojo/jaxer.js b/includes/js/dojo/jaxer.js
new file mode 100644
index 0000000..d26e13f
--- /dev/null
+++ b/includes/js/dojo/jaxer.js
@@ -0,0 +1,15 @@
+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;
+}
+
+onserverload = dojo._loadInit;
+
+}