API Docs for: 0.0.1
Show:

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

Properties

_config

Object private

Global configuration properties for the ITSA object. It can only be set on initialization via the ITSA function.

The config is set at a default-configutation

Classes

Object static

Reference to Classes in js-ext/extra/classes.js

createHashMap

Function static

Reference to the createHashMap function in js-ext/extra/hashmap.js

Event

Event static

Event-instance

idGenerator

Function static

Reference to the idGenerator function in utils

IO

Object static

Reference to the IO object

LightMap

Class static

Reference to the LightMap-Class in js-ext/extra/lightmap.js

UA

Object static

Reference to the UserAgent object

Uploader

Object static

Reference to the Uploader object