On this page

Represents the template runtime component.

new Template(): Template
Returns:<Template>
Attributes
NUMBER_OF_IDENTIFIER_CONTINUATION_CHARS:<number>
NUMBER_OF_IDENTIFIER_START_CHARS:<number>
Attributes
[] string or string collection
Returns:<string>
returns a single string from array

Returns a single string from array.


Attributes
a runtime function (.runtime.js) "template"
Returns:<string>
the updated and normalized function string

Gets function content.


Attributes
modules:<WithId>
[] a collection of modules to get array bounds for
Returns:
<false> | <Tuple> < <number> , <number> > returns the upper and lower array bounds or false if not every module has a number based id

Gets modules array bounds.


Attributes
[] string to convert to identity
Returns:<string>
converted identity

Returns converted identity.


Attributes
number to convert to ident
Returns:<string>
returns single character ident

Number to identifier.


Attributes
number to convert to ident
Returns:<string>
returns single character ident

Number to identifier continuation.


Attributes
[] string to create prefix for
prefix:<string>
prefix to compose
Returns:<string>
returns new prefix string

Returns new prefix string.


Attributes
modules:<Module>
[] modules to render (should be ordered by identifier)
renderModule:<Function>
function to render a module
prefix:<string>
applying prefix strings
Returns:<Source> | <null>
rendered chunk modules in a Source object or null if no modules

Renders chunk modules.


Attributes
runtimeModules:<RuntimeModule>
[] array of runtime modules in order
render context
Returns:<Source>
rendered chunk runtime modules in a Source object

Renders chunk runtime modules.


Attributes
runtimeModules:<RuntimeModule>
[] array of runtime modules in order
& <object> render context
Returns:<Source>
rendered runtime modules in a Source object

Renders runtime modules.


Attributes
string to be converted to commented in bundle code
Returns:<string>
returns a commented version of string

Returns a commented version of string.


Attributes
the string converted to identifier
Returns:<string>
created identifier

Returns created identifier.


Attributes
string to be converted to "normal comment"
Returns:<string>
returns a commented version of string

Returns a commented version of string.


Attributes
string path to be normalized
Returns:<string>
normalized bundle-safe path

Returns normalized bundle-safe path.

Attributes
toString:<Function>

Attributes