dojo Configuring Dojo with dojoConfig


The dojoConfig object (formerly djConfig) allows you to set options and default behavior for various aspects of the dojo toolkit. Examples will explain what's possible and how you can put dojoConfig to use in your code.

Note that dojoConfig is defined in a script block before dojo.js is loaded. This is of paramount importance—if reversed, the configuration properties will be ignored.