summaryrefslogtreecommitdiff
path: root/includes/js/dojo/_base/browser.js
diff options
context:
space:
mode:
Diffstat (limited to 'includes/js/dojo/_base/browser.js')
-rw-r--r--includes/js/dojo/_base/browser.js21
1 files changed, 21 insertions, 0 deletions
diff --git a/includes/js/dojo/_base/browser.js b/includes/js/dojo/_base/browser.js
new file mode 100644
index 0000000..9ee17a7
--- /dev/null
+++ b/includes/js/dojo/_base/browser.js
@@ -0,0 +1,21 @@
+if(!dojo._hasResource["dojo._base.browser"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code.
+dojo._hasResource["dojo._base.browser"] = true;
+dojo.provide("dojo._base.browser");
+
+dojo.require("dojo._base.window");
+dojo.require("dojo._base.event");
+dojo.require("dojo._base.html");
+dojo.require("dojo._base.NodeList");
+dojo.require("dojo._base.query");
+dojo.require("dojo._base.xhr");
+dojo.require("dojo._base.fx");
+
+//Need this to be the last code segment in base, so do not place any
+//dojo.requireIf calls in this file. Otherwise, due to how the build system
+//puts all requireIf dependencies after the current file, the require calls
+//could be called before all of base is defined.
+if(dojo.config.require){
+ dojo.forEach(dojo.config.require, "dojo['require'](item);");
+}
+
+}