]> git.wh0rd.org - tt-rss.git/blame - lib/dojo/lib/kernel.js
remove call-by-reference to comply with php 5.4
[tt-rss.git] / lib / dojo / lib / kernel.js
CommitLineData
81bea17a
AD
1/*
2 Copyright (c) 2004-2011, The Dojo Foundation All Rights Reserved.
3 Available via Academic Free License >= 2.1 OR the modified BSD license.
4 see: http://dojotoolkit.org/license for details
5*/
6
7
8// AMD module id = dojo/lib/kernel
9//
10// This module ensures the dojo object is initialized by...
11//
12// * dojo/_base/_loader/bootstrap
13// * dojo/lib/backCompat
14// * dojo/_base/_loader/hostenv_browser
15//
16// This is roughly equivalent to the work that dojo.js does by injecting
17// bootstrap, loader, and hostenv_browser.
18//
19// note: this module is relevant only when loading dojo with an AMD loader;
20// it is never evaluated otherwise.
21
22// for now, we publish dojo into the global namespace because so many tests and apps expect it.
23define(["dojo/_base/_loader/hostenv_browser"], function(dojo_){
24 dojo= dojo_;
25 return dojo_;
26});