Object
Application code can set the global 'djConfig' prior to loading the library to override certain global settings for how dojo works.
Object
Object
Object
Boolean
Defaults to `false`. If set to `true`, ensures that Dojo provides extended debugging feedback via Firebug. If Firebug is not available on your platform, setting `isDebug` to `true` will force Dojo to pull in (and display) the version of Firebug Lite which is integrated into the Dojo distribution, thereby always providing a debugging/logging console when `isDebug` is enabled. Note that Firebug's `console.*` methods are ALWAYS defined by Dojo. If `isDebug` is false and you are on a platform without Firebug, these methods will be defined as no-ops.
Boolean
Defaults to `false`. If set to `true`, this triggers an alternate mode of the package system in which dependencies are detected and only then are resources evaluated in dependency order via `<script>` tag inclusion. This may double-request resources and cause problems with scripts which expect `dojo.require()` to preform synchronously. `debugAtAllCosts` can be an invaluable debugging aid, but when using it, ensure that all code which depends on Dojo modules is wrapped in `dojo.addOnLoad()` handlers. Due to the somewhat unpredictable side-effects of using `debugAtAllCosts`, it is strongly recommended that you enable this flag as a last resort. `debugAtAllCosts` has no effect when loading resources across domains. For usage information, see the [Dojo Book](http://dojotoolkit.org/book/book-dojo/part-4-meta-dojo-making-your-dojo-code-run-faster-and-better/debugging-facilities/deb)
String
The locale to assume for loading localized resources in this page, specified according to [RFC 3066](http://www.ietf.org/rfc/rfc3066.txt). Must be specified entirely in lowercase, e.g. `en-us` and `zh-cn`. See the documentation for `dojo.i18n` and `dojo.requireLocalization` for details on loading localized resources. If no locale is specified, Dojo assumes the locale of the user agent, according to `navigator.userLanguage` or `navigator.language` properties.
Array
No default value. Specifies additional locales whose resources should also be loaded alongside the default locale when calls to `dojo.requireLocalization()` are processed.
String
The directory in which `dojo.js` is located. Under normal conditions, Dojo auto-detects the correct location from which it was loaded. You may need to manually configure `baseUrl` in cases where you have renamed `dojo.js` or in which `<base>` tags confuse some browsers (e.g. IE 6). The variable `dojo.baseUrl` is assigned either the value of `djConfig.baseUrl` if one is provided or the auto-detected root if not. Other modules are located relative to this path. The path should end in a slash. modulePaths: Object A map of module names to paths relative to `dojo.baseUrl`. The key/value pairs correspond directly to the arguments which `dojo.registerModulePath` accepts. Specifiying `djConfig.modulePaths = { "foo": "../../bar" }` is the equivalent of calling `dojo.registerModulePath("foo", "../../bar");`. Multiple modules may be configured via `djConfig.modulePaths`.
Object
Boolean
Indicates Dojo was added to the page after the page load. In this case Dojo will not wait for the page DOMContentLoad/load events and fire its dojo.addOnLoad callbacks after making sure all outstanding dojo.required modules have loaded. Only works with a built dojo.js, it does not work the dojo.js directly from source control.
Function
or Array Adds a callback via dojo.addOnLoad. Useful when Dojo is added after the page loads and djConfig.afterOnLoad is true. Supports the same arguments as dojo.addOnLoad. When using a function reference, use `djConfig.addOnLoad = function(){};`. For object with function name use `djConfig.addOnLoad = [myObject, "functionName"];` and for object with function reference use `djConfig.addOnLoad = [myObject, function(){}];`
Array
An array of module names to be loaded immediately after dojo.js has been included in a page.
Array
Default duration, in milliseconds, for wipe and fade animations within dijits. Assigned to dijit.defaultDuration.
String
Used by some modules to configure an empty iframe. Used by dojo.io.iframe and dojo.back, and dijit popup support in IE where an iframe is needed to make sure native controls do not bleed through the popups. Normally this configuration variable does not need to be set, except when using cross-domain/CDN Dojo builds. Save dojo/resources/blank.html to your domain and set `djConfig.dojoBlankHtmlUrl` to the path on your domain your copy of blank.html.
Boolean
Set this to true to enable publishing of topics for the different phases of IO operations. Publishing is done via dojo.publish. See dojo.__IoPublish for a list of topics that are published.
Anything
If set to a value that evaluates to true such as a string or array and isDebug is true and Firebug is not available or running, then it bypasses the creation of Firebug Lite allowing you to define your own console object.
Array
Array containing the r, g, b components used as transparent color in dojo.Color; if undefined, [255,255,255] (white) will be used.
Boolean
For IE only, skip the DOMContentLoaded hack used. Sometimes it can cause an Operation Aborted error if the rest of the page triggers script defers before the DOM is ready. If this is config value is set to true, then dojo.addOnLoad callbacks will not be triggered until the page load event, which is after images and iframes load. If you want to trigger the callbacks sooner, you can put a script block in the bottom of your HTML that calls dojo._loadInit();. If you are using multiversion support, change "dojo." to the appropriate scope name for dojo.
Object
Object
Object
Alias for the global scope (e.g. the window object in a browser).
Refer to 'dojo.global' rather than referring to window to ensure your code runs correctly in contexts other than web browsers (e.g. Rhino on a server).
Object
the locale as defined by Dojo (read-only)
Function
String
Object