diff options
Diffstat (limited to 'lib/dijit/lib/main.js')
-rw-r--r-- | lib/dijit/lib/main.js | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/lib/dijit/lib/main.js b/lib/dijit/lib/main.js new file mode 100644 index 000000000..28f1164e9 --- /dev/null +++ b/lib/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; +}); |