dojo/_base

Contents

dojo/_base contains what formerly constituted the "base" of Dojo when you required in dojo/dojo.js into your project. Currently, this is not entirely accurate and dojo/_base contains a mixture of configuration modules, limited amounts of functionality that haven't been moved out to the Dojo Core and a lot of "stubs" which add "base" functionality to Dojo when it is running in legacy mode.

If you run dojo/dojo.js in async mode (async: true) then the loader will only load the modules as they are needed. Also, if you do a custom build, what modules and when they are loaded are dependent upon how Dojo is built. If you run in "legacy" mode, then the APIs that are part of the Dojo Base are automatically loaded and made available.

Modules