diff options
Diffstat (limited to 'js/dojo-1.6/dijit/lib/main.xd.js')
| -rw-r--r-- | js/dojo-1.6/dijit/lib/main.xd.js | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/js/dojo-1.6/dijit/lib/main.xd.js b/js/dojo-1.6/dijit/lib/main.xd.js new file mode 100644 index 0000000..c0a2733 --- /dev/null +++ b/js/dojo-1.6/dijit/lib/main.xd.js @@ -0,0 +1,24 @@ +/*
+ 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
+*/
+
+
+dojo._xdResourceLoaded(function(dojo, dijit, dojox){
+return {
+defineResource: function(dojo, dijit, dojox){// 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;
+});
+
+}};});
|
