Skip to content

The loader extension JavaScript

chuckd edited this page Jan 8, 2013 · 3 revisions

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 transport servlet init-param. If no transport init-param is specified, then the Aggregator provided default (named default) HTTP transport is used. This section pertains to the default HTTP transport that is provided with the Aggregator.

The loader extension Javascript resides in the module named combo/loaderExt. This module is loaded into the browser after the AMD loader config and the loader extension config is defined, but before the AMD loader is loaded. 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.