Dojo and AOL
Using Dojo on AOL's CDN
Dojo 1.3.1
The Dojo 1.3.1 information is the same as the 0.4.2 information below, except that now the dojo.xd.js file just contains the base Dojo functionality, not the "ajax build" info listed in 0.4.2.
Use the following script tag to use Dojo 1.3.1:
<script type="text/javascript" src="http://o.aolcdn.com/dojo/1.3.1/dojo/dojo.xd.js"></script>
There is an uncompressed version of the dojo.xd.js, which makes it easier to read the functionality and API docs for dojo base:
<script type="text/javascript" src="http://o.aolcdn.com/dojo/1.3.1/dojo/dojo.xd.js.uncompressed.js"></script>
Dojo 1.3.0
The Dojo 1.3.0 information is the same as the 0.4.2 information below, except that now the dojo.xd.js file just contains the base Dojo functionality, not the "ajax build" info listed in 0.4.2.
Use the following script tag to use Dojo 1.3.0:
<script type="text/javascript" src="http://o.aolcdn.com/dojo/1.3.0/dojo/dojo.xd.js"></script>
There is an uncompressed version of the dojo.xd.js, which makes it easier to read the functionality and API docs for dojo base:
<script type="text/javascript" src="http://o.aolcdn.com/dojo/1.3.0/dojo/dojo.xd.js.uncompressed.js"></script>
Dojo 1.2.3
The Dojo 1.2.3 information is the same as the 0.4.2 information below, except that now the dojo.xd.js file just contains the base Dojo functionality, not the "ajax build" info listed in 0.4.2.
Use the following script tag to use Dojo 1.2.3:
<script type="text/javascript" src="http://o.aolcdn.com/dojo/1.2.3/dojo/dojo.xd.js"></script>
There is an uncompressed version of the dojo.xd.js, which makes it easier to read the functionality and API docs for dojo base:
<script type="text/javascript" src="http://o.aolcdn.com/dojo/1.2.3/dojo/dojo.xd.js.uncompressed.js"></script>
dojox.gfx can now be dynamically loaded from the CDN so there is no special build layer for it.
Dojo 1.2.0
The Dojo 1.2.0 information is the same as the 0.4.2 information below, except that now the dojo.xd.js file just contains the base Dojo functionality, not the "ajax build" info listed in 0.4.2.
Use the following script tag to use Dojo 1.2.0:
<script type="text/javascript" src="http://o.aolcdn.com/dojo/1.2.0/dojo/dojo.xd.js"></script>
There is an uncompressed version of the dojo.xd.js, which makes it easier to read the functionality and API docs for dojo base:
<script type="text/javascript" src="http://o.aolcdn.com/dojo/1.2.0/dojo/dojo.xd.js.uncompressed.js"></script>
dojox.gfx can now be dynamically loaded from the CDN so there is no special build layer for it.
Dojo 1.1.1
The Dojo 1.1.1 information is the same as the 0.4.2 information below, except that now the dojo.xd.js file just contains the base Dojo functionality, not the "ajax build" info listed in 0.4.2.
Use the following script tag to use Dojo 1.1.1:
<script type="text/javascript" src="http://o.aolcdn.com/dojo/1.1.1/dojo/dojo.xd.js"></script>
There is an uncompressed version of the dojo.xd.js, which makes it easier to read the functionality and API docs for dojo base:
<script type="text/javascript" src="http://o.aolcdn.com/dojo/1.1.1/dojo/dojo.xd.js.uncompressed.js"></script>
dojox.gfx from the CDN
There is an issue dynamically loading dojox.gfx from the CDN. However, it works if that module is part of dojo.xd.js. If you need to use dojox.gfx from the CDN, use this URL instead:
<script type="text/javascript" src="http://o.aolcdn.com/dojo/1.1.1/dojo/gfx-dojo.xd.js"></script>
There is an uncompressed version available at:
<script type="text/javascript" src="http://o.aolcdn.com/dojo/1.1.1/dojo/gfx-dojo.xd.js.uncompressed.js"></script>
Dojo 1.1.0
The Dojo 1.1.0 information is the same as the 0.4.2 information below, except that now the dojo.xd.js file just contains the base Dojo functionality, not the "ajax build" info listed in 0.4.2.
Use the following script tag to use Dojo 1.1.0:
<script type="text/javascript" src="http://o.aolcdn.com/dojo/1.1.0/dojo/dojo.xd.js"></script>
There is an uncompressed version of the dojo.xd.js, which makes it easier to read the functionality and API docs for dojo base:
<script type="text/javascript" src="http://o.aolcdn.com/dojo/1.1.0/dojo/dojo.xd.js.uncompressed.js"></script>
dojox.gfx from the CDN
There is an issue dynamically loading dojox.gfx from the CDN. However, it works if that module is part of dojo.xd.js. If you need to use dojox.gfx from the CDN, use this URL instead:
<script type="text/javascript" src="http://o.aolcdn.com/dojo/1.1.0/dojo/gfx-dojo.xd.js"></script>
There is an uncompressed version available at:
<script type="text/javascript" src="http://o.aolcdn.com/dojo/1.1.0/dojo/gfx-dojo.xd.js.uncompressed.js"></script>
Dojo 1.0.2
The Dojo 1.0.2 information is the same as the 0.4.2 information below, except that now the dojo.xd.js file just contains the base Dojo functionality, not the "ajax build" info listed in 0.4.2.
Use the following script tag to use Dojo 1.0.2:
<script type="text/javascript" src="http://o.aolcdn.com/dojo/1.0.2/dojo/dojo.xd.js"></script>
There is an uncompressed version of the dojo.xd.js, which makes it easier to read the functionality and API docs for dojo base:
<script type="text/javascript" src="http://o.aolcdn.com/dojo/1.0.2/dojo/dojo.xd.js.uncompressed.js"></script>
Dojo 1.0.0
The Dojo 1.0.0 information is the same as the 0.4.2 information below, except that now the dojo.xd.js file just contains the base Dojo functionality, not the "ajax build" info listed in 0.4.2.
Use the following script tag to use Dojo 1.0.0:
<script type="text/javascript" src="http://o.aolcdn.com/dojo/1.0.0/dojo/dojo.xd.js"></script>
There is an uncompressed version of the dojo.xd.js, which makes it easier to read the functionality and API docs for dojo base:
<script type="text/javascript" src="http://o.aolcdn.com/dojo/1.0.0/dojo/dojo.xd.js.uncompressed.js"></script>
Dojo 0.9.0
The Dojo 0.9.0 information is the same as the 0.4.2 information below, except that now the dojo.xd.js file just contains the base Dojo functionality, not the "ajax build" info listed in 0.4.2.
Use the following script tag to use Dojo 0.9.0:
<script type="text/javascript" src="http://o.aolcdn.com/dojo/0.9.0/dojo/dojo.xd.js"></script>
There is an uncompressed version of the dojo.xd.js, which makes it easier to read the functionality and API docs for dojo base:
<script type="text/javascript" src="http://o.aolcdn.com/dojo/0.9.0/dojo/dojo.xd.js.uncompressed.js"></script>
Dojo 0.4.3
The Dojo 0.4.3 information is the same as the 0.4.2 information below. Just use this script tag instead:
<script type="text/javascript" src="http://o.aolcdn.com/dojo/0.4.3/dojo.js"></script>
Dojo 0.4.2
Dojo's 0.4.2 release is available to be used from AOL's Content Delivery Network (CDN). AOL's CDN is a worldwide CDN that uses geographic edge caching. This means that your users who access files from http://o.aolcdn.com/dojo will receive them from a location that is geographically near them (where possible), allowing fast delivery of the files. The content is also served gzip-compressed to allow even quicker file downloads.
By using the AOL CDN for loading Dojo, it means that you do not need to download and install Dojo on your servers. To get started using Dojo 0.4.2 from AOL's CDN, just use the following script tag to load Dojo:
<script type="text/javascript" src="http://o.aolcdn.com/dojo/0.4.2/dojo.js"></script>
Some Dojo modules that need specific iframe or window content require some special setup. See the module list on the Dojo web build page for more information.
The Dojo build on the AOL CDN is the xdomain ajax build. This means the dojo.js on the CDN has the following modules included in it:
- dojo.dom
- dojo.event.browser
- dojo.event.common
- dojo.event.topic
- dojo.gfx.color
- dojo.html.color
- dojo.html.common
- dojo.html.display
- dojo.html.layout
- dojo.html.style
- dojo.io.BrowserIO
- dojo.io.common
- dojo.io.cookie
- dojo.lang.array
- dojo.lang.common
- dojo.lang.extras
- dojo.lang.func
- dojo.lfx.Animation
- dojo.lfx.html
- dojo.string
- dojo.string.common
- dojo.string.extras
- dojo.undo.browser
- dojo.uri.Uri
If you use many Dojo modules that are not part of this list and you want better loading performance, you may want to use Dojo's web build tool to create a custom dojo.js that includes all the modules you need. The web build tool uses AOL's CDN to load any other modules or support files it needs. You just need to store your custom built dojo.js on your server and use the AOL CDN for everything else. Instead of using the script tag above, replace the src URL with the URL to your custom built dojo.js.
AOL PROVIDES THE CDN AS A CONVENIENCE FOR DEVELOPERS AND END USERS.
THE CDN AND ALL FILES AVAILABLE ON IT ARE PROVIDED “AS IS†AND WITH ALL FAULTS. AOL EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, WITHOUT LIMITATION, ANY AND ALL WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. AOL DOES NOT WARRANT THAT THE CDN OR AVAILABLE FILES WILL MEET YOUR REQUIREMENTS, THAT THE OPERATION OF THE CDN OR AVAILABLE FILES WILL BE UNINTERRUPTED OR ERROR-FREE, OR THAT DEFECTS IN THE CDN OR AVAILABLE FILES WILL BE CORRECTED.
AOL AND ITS OFFICERS, DIRECTORS, AFFILIATES, AND AGENTS SHALL NOT BE LIABLE FOR ANY LOSS OF USE OR INTERRUPTION OF BUSINESS, OR FOR INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST REVENUES AND PROFITS) OR SIMILAR DAMAGES, WHETHER BASED ON TORT (INCLUDING WITHOUT LIMITATION NEGLIGENCE AND STRICT LIABILITY), CONTRACT, OR OTHER LEGAL OR EQUITABLE GROUNDS, ARISING OUT OF OR RELATING TO THE CDN OR AVAILABLE FILES, EVEN IF AOL HAS BEEN ADVISED OR HAD REASON TO KNOW OF THE POSSIBILITY OF SUCH DAMAGES AND EVEN IN THE EVENT OF FAILURE OF EXCLUSIVE REMEDIES.
