-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
328 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
node_modules | ||
coverage | ||
docs | ||
/dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
node_modules | ||
npm-debug.log* | ||
docs | ||
coverage | ||
.nyc_output | ||
/dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
node_modules | ||
npm-debug.log* | ||
docs | ||
coverage | ||
.nyc_output | ||
.babelrc | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"plugins": [], | ||
"recurseDepth": 10, | ||
"source": { | ||
"include": [ | ||
"./src" | ||
], | ||
"includePattern": ".+\\.js(doc|x)?$" | ||
}, | ||
"sourceType": "module", | ||
"tags": { | ||
"allowUnknownTags": true, | ||
"dictionaries": ["jsdoc", "closure"] | ||
}, | ||
"templates": { | ||
"cleverLinks": false, | ||
"monospaceLinks": false | ||
}, | ||
"opts": { | ||
"encoding": "utf8", | ||
"destination": "./docs", | ||
"recurse": true | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,32 @@ | ||
/** | ||
* Global variables module. | ||
* @module | ||
*/ | ||
|
||
/** | ||
* Global variables to be added to render data. | ||
* @type {Object} | ||
*/ | ||
|
||
var globals = {}; | ||
export default globals; | ||
|
||
/** | ||
* Adds a new global variable. | ||
* @param {string} - variable name | ||
* @param {*} - variable value | ||
* @return {*} The given variable value. | ||
*/ | ||
|
||
export function addGlobal (key, value) { | ||
return globals[key] = value; | ||
} | ||
|
||
/** | ||
* Getter for the globals object. | ||
* @return {Object} The globals object. | ||
*/ | ||
|
||
export function getGlobals () { | ||
return globals; | ||
} | ||
|
||
export default globals; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/** | ||
* Represents the eventual result of an asynchronous operation. | ||
* @external Promise | ||
* @global | ||
* @see {@link https://promisesaplus.com/} | ||
*/ | ||
|
||
/** | ||
* jQuery instance. | ||
* @external jQuery | ||
* @global | ||
* @see {@link http://api.jquery.com/} | ||
*/ |
Oops, something went wrong.