summaryrefslogtreecommitdiff
path: root/js/dojo/dojox/mobile/compat.js.uncompressed.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/dojo/dojox/mobile/compat.js.uncompressed.js')
-rw-r--r--js/dojo/dojox/mobile/compat.js.uncompressed.js29
1 files changed, 29 insertions, 0 deletions
diff --git a/js/dojo/dojox/mobile/compat.js.uncompressed.js b/js/dojo/dojox/mobile/compat.js.uncompressed.js
new file mode 100644
index 0000000..045f0da
--- /dev/null
+++ b/js/dojo/dojox/mobile/compat.js.uncompressed.js
@@ -0,0 +1,29 @@
+/*
+ Copyright (c) 2004-2011, The Dojo Foundation All Rights Reserved.
+ Available via Academic Free License >= 2.1 OR the modified BSD license.
+ see: http://dojotoolkit.org/license for details
+*/
+
+/*
+ This is an optimized version of Dojo, built for deployment and not for
+ development. To get sources and documentation, please visit:
+
+ http://dojotoolkit.org
+*/
+
+//>>built
+
+require(["dojo/i18n"], function(i18n){
+i18n._preloadLocalizations("dojox/mobile/nls/compat", []);
+});
+define("dojox/mobile/compat", [
+ "dojo/_base/lang",
+ "dojo/_base/sniff"
+], function(lang, has){
+ var dm = lang.getObject("dojox.mobile", true);
+ if(!has("webkit")){
+ var s = "dojox/mobile/_compat"; // assign to a variable so as not to be picked up by the build tool
+ require([s]);
+ }
+ return dm;
+});