Class jls.lang.ModuleLoader

A module loader is an object that is responsible for loading Common JS modules. The ModuleLoader class implements the CommonJS Modules 1.0 specification.
Defined in: ModuleLoader.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Method Summary
Method Attributes Method Name and Description
<static>  
jls.lang.ModuleLoader.getInstance()
Gets the current module loader instance.
 
require(path)
Returns the exported API of the foreign module.
Class Detail
jls.lang.ModuleLoader()
Method Detail
<static> {jls.lang.ModuleLoader} jls.lang.ModuleLoader.getInstance()
Gets the current module loader instance.
Returns:
{jls.lang.ModuleLoader} The module loader instance.

require(path)
Returns the exported API of the foreign module.
Parameters:
{String} path
The path of the module to load.

Documentation generated by JsDoc Toolkit 2.3.2 on Sat Jan 08 2011 01:56:36 GMT+0100 (CET)