Namespace: browser_jools

browser_jools

Members

(static) exports.version

version

Source:

(static) require.resolve

Source:

Methods

(static) Jools(rules)

Jools constructor.

A rule consists of:

  • Descriptive name
  • One or more conditions
  • One or more consequences, which are fired when all conditions evaluate to true.
Parameters:
Name Type Description
rules Object
Source:

(static) module.exports.paramNames(f)

Returns an array of parameter names of the function f

Parameters:
Name Type Description
f function
Source:

(static) module.exports.paramsToArguments(obj, params)

Creates an array of arguments

Parameters:
Name Type Description
obj Object
params Array
Source:

(static) normalizeArray(parts, allowAboveRoot)

resolves . and .. elements in a path array with directory names there must be no slashes, empty elements, or device names (c:) in the array (so also no leading and trailing slashes - it does not distinguish relative and absolute paths)

Parameters:
Name Type Description
parts
allowAboveRoot
Source:

(static) require(file, cwd)

Parameters:
Name Type Description
file
cwd
Source:

(static) require.alias()

Source:

(static) require.define()

Source: