Chevron Down
Table of Contents
Chevron DownAPI Reference


resolvePath(path : String) : String

Applies aliases and path prefix, in that order. Returns an updated path.

addAliases(aliases : Object)

Sets a map of aliases (file name substitutions).

setPathPrefix(prefix : String)

This sets a path prefix that is automatically prepended to relative path names provided to load functions.

getPathPrefix() : String

Returns the current path prefix set by setPathPrefix.