-
<inner> define(factory)
-
Override AMD `define` function for RequireJS
Parameters:
Name |
Type |
Description |
factory |
function
|
|
- Source:
-
-
Parse source code block comments for @jscs option instructions
Parameters:
Name |
Type |
Description |
comments |
Object[]
|
|
- Source:
Returns:
-
Type
-
string
-
<inner> getSyntaxTree(srcCode, fileInfo) → {Object}
-
Get Esprima syntax tree
Parameters:
Name |
Type |
Argument |
Description |
srcCode |
string
|
|
|
fileInfo |
string
|
undefined
|
<optional>
|
|
- Source:
Returns:
-
Type
-
Object
-
<inner> getTestResults(text, options, rulesetOverrides, injectedSyntaxTree) → {Object}
-
Lint source code and get results wrapped in a Logger instance
Parameters:
Name |
Type |
Argument |
Default |
Description |
text |
string
|
|
|
|
options |
Object
|
|
|
reference |
rulesetOverrides |
Object
|
<optional>
|
{}
|
|
injectedSyntaxTree |
Object
|
<optional>
|
|
|
- Source:
Returns:
-
Type
-
Object
-
<inner> load(module) → {*}
-
Trick RequireJS that tries to resolve `require` calls with no regard to conditions
Parameters:
Name |
Type |
Description |
module |
string
|
|
- Source:
Returns:
-
Type
-
*
-
<inner> loadStandard(standardName) → {Object}
-
Try to make instance of a given standard
Parameters:
Name |
Type |
Description |
standardName |
string
|
|
- Source:
Returns:
-
Type
-
Object