-
Notifications
You must be signed in to change notification settings - Fork 15
The loader extension JavaScript
The loader extension JavaScript is a JavaScript module that contains the client side of the HTTP Transport for the Aggregator. Aggregator HTTP Transports are named and extend the com.ibm.jaggr.service.httptransport extension point. A servlet specifies the name of the HTTP transport using the httptransport
servlet init-param. If no transport init-param is specified, then the Aggregator provided default (named dojo.httptransport
) defined in the Aggregator's plugin.xml
is used. This section pertains to the default HTTP transport.
The loader extension Javascript resides in the module named combo/loaderExt
. The combo
path is defined by the Aggregator and does not need to be defined by the application. This module is loaded into the browser after the AMD loader config (which defines the loader extension config), but before the AMD loader. It can be loaded together with the AMD loader using the Aggregator as described in Using the Aggregator. The loader extension JavaScript is not an AMD module, and cannot be loaded by requiring it from AMD loader. It must be loaded before the AMD loader is loaded. See test.html
for an example.