diff options
Diffstat (limited to '')
| -rw-r--r-- | js/dojo-1.6/dijit/lib/main.js | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/js/dojo-1.6/dijit/lib/main.js b/js/dojo-1.6/dijit/lib/main.js new file mode 100644 index 0000000..74b0c71 --- /dev/null +++ b/js/dojo-1.6/dijit/lib/main.js @@ -0,0 +1,20 @@ +/*
+ 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
+*/
+
+
+// AMD module id = dijit
+//
+// This is a package main module for the dijit package. The dijit package is somewhat unusual
+// in that is it currently constructed to just provide an empty object.
+//
+
+// for now, we publish dijit into the global namespace because so many tests and apps expect it.
+define(["dojo"], function(dojo) {
+ // the current dojo bootstrap defines dijit; this may change and this module provides a little
+ // future-proof with the disjunction.
+ dijit= dojo._dijit || {};
+ return dijit;
+});
|
