Dojo 0.4.2rc1 XDomain Web Build Tool


There are two ways to use this xdomain build:

XDomain Ajax Build

To use 0.4.2rc1 XDomain Ajax build, just include this script tag in your page:

<script type="text/javascript" src="http://build.dojotoolkit.org/0.4.2rc1/dojo.js"></script>

There are some modules that require some special setup to use in the xdomain build:

Widget automatic loading

dojo.debugDeep()

dojo.flash

dojo.io.createIFrame()

dojo.rpc.YahooService

dojo.storage

dojo.undo.browser

dojo.widget.GoogleMap

dojo.widget.Editor2, dojo.widget.Editor, dojo.widget.RichText

More information on XDomain builds: Cross Domain Resource Loading. If you use the dojo.js URL above for the xdomain ajax build, you do not need to set any djConfig parameters for it to work. You also do not need a local dojo installation on your server.

Web Build Tool

To build a custom dojo.js with the modules you use the most, use the Web Build Tool (still experimental).

Save the dojo.js generated from the web build to your server, and for any modules that are not in that dojo.js, the xdomain ajax build mentioned above will be used to load them. The special setup for specific modules mentioned the XDomain Ajax Build section still apply, even if those modules are in your dojo.js file.