Namespace: Loader

AJL. Loader

Source:

Methods

<static> loadEntryPoint() → {boolean}

Search data-ep in scripts tag and load EntryPoint.js file
Source:
Returns:
True if EntryPoint file exists and loaded
Type
boolean
Example
AJL.Loader.loadEntryPoint();

<static> loadPackage() → {boolean}

Function for proceed loading of Package
This:
Source:
Returns:
Type
boolean
Example
var myPackage = new AJL.Package('My Package', [
     'foo.js',
     'bar.js'
], {
     async: false,
     lazy: true
});
AJL.Loader.loadPackage.call(myPackage);