Dojo 1.7 includes a loading system called the AMD loader.
The goal of the AMD loader is to provide a more flexible and efficient
way to load Dojo modules. In particular, an application can now be
configured to load Dojo modules asynchronously and concurrently, which
results in faster application loading.
The IBM® ILOG® Dojo Diagrammer
component has been refactored to take advantage of the AMD loader,
so that Dojo Diagrammer applications can load faster. The new code
is fully compatible with previous versions, so existing Dojo Diagrammer
applications will continue to run without any modification. To benefit
from AMD loading, you must modify your applications as explained in
this documentation.
Note
The code examples in the other sections of the Dojo Diagrammer
documentation still use the legacy syntax, that is, dojo.require.
If you copy and paste extracts of these code examples into your application,
you might want to convert them to AMD syntax as explained in the AMD
sections of the documentation.