ITSA Class
The ITSA class provides the core functionality for the ITSA library and is the root namespace for all the additional modules.
The ITSA class cannot be instantiated. Instead, the ITSA function takes a configuration object to allow for tailoring of the library. The ITSA function returns itself to allow for further chaining.
Calling the ITSA function is optional. If the default configuration is acceptable, the ITSA class can be used directly.
The ITSA name is usually used only once in an application, when configuring it
and when calling the ready
or require
methods.
The callback to these two methods provide a reference to ITSA itself as their argument.
These methods allow the developer to rename ITSA to a shorter name, usually P
,
for use within the local scope.
ITSA( config ) .require('dialog', 'event', ...) .then(function (P) { // P is an alias of ITSA });
// If the default configuration is acceptable, you can simply do: ITSA.require('dialog', 'event', ...) .then(function (P) { // P is an alias of ITSA });
// If extra modules are to be loaded later, you can simply do: ITSA( config ).ready .then(function (P) { // P is an alias of ITSA });
// And if no configuration is needed: ITSA.ready .then(function (P) { // P is an alias of ITSA });
Item Index
Properties
- _config
- Classes static
- createHashMap static
- Event static
- idGenerator static
- IO static
- LightMap static
- UA static
- Uploader static