]>
git.wh0rd.org - tt-rss.git/blob - lib/dojo/lib/main-browser.js
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
8 // AMD module id = dojo
10 // This is a package main module for the dojo package implemented so that the *absolute minimal*
11 // changes are made to the dojo 1.x code. It is by no means optimal and should/will be replaced with
12 // a less naive design--particularly as dojo v2.0 evolves.
14 // There are a few key design weaknesses in this implementation:
16 // * generally, v1.x bootstrap, tests, and apps assume dojo is global
18 // * the v1.x dojo/_base modules assume dojo is defined before they are defined
19 // and their factory functions go about populating dojo--which is really part of defining
20 // dojo. This leads to the appearance of a circular dependency and is a somewhat obtuse
21 // design since the dojo object must be delivered to them under a different module
22 // name (dojo/lib/kernel).
24 // * bootstrap modules tend to incorporate unrelated features (e.g., hostenv_browser includes
25 // DOMContentLoad detection, thereby making it impossible to build out this feature if a
26 // particular app does not need it).
28 // * The back compatibility layer requires/contains some non-optimal code that needs to be improved.
30 // As 1.7 and 2.0 evolve, these items will be addressed with more robust implementation.
32 // The boot sequence is as follows:
34 // dojo (this module) depends on...
35 // dojo/lib/kernel which depends on...
36 // dojo/_base/_loader/hostenv_browser which depends on...
37 // dojo/lib/backCompat which depends on...
38 // dojo/_base/_loader/bootstrap which depends on nothing
40 // This module further depends on the fairly ordinary modules in dojo/_base; each of these
41 // modules depends on dojo/lib/kernel (at least) which provide the dojo object for them to augment.
49 "dojo/_base/Deferred",
55 "dojo/_base/NodeList",