summaryrefslogtreecommitdiff
path: root/lib/dojo/lib/kernel.js
blob: 94a3fefae193f296d8dc31b3e31adb2ed02234e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
	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 = dojo/lib/kernel
//
// This module ensures the dojo object is initialized by...
//
//	 * dojo/_base/_loader/bootstrap
//	 * dojo/lib/backCompat
//	 * dojo/_base/_loader/hostenv_browser
//
// This is roughly equivalent to the work that dojo.js does by injecting
// bootstrap, loader, and hostenv_browser.
//
// note: this module is relevant only when loading dojo with an AMD loader;
// it is never evaluated otherwise.

// for now, we publish dojo into the global namespace because so many tests and apps expect it.
define(["dojo/_base/_loader/hostenv_browser"], function(dojo_){
	dojo= dojo_;
	return dojo_;
});