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.
| Constructor Attributes | Constructor Name and Description |
|---|---|
| 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.
|