- Linting (JSDoc): Update per newly enforced require-returns; avoid Closure syntax

- Docs (JSDoc): Prefer `void`
- npm: Update devDeps
This commit is contained in:
Brett Zamir
2019-04-16 08:58:40 +08:00
parent 7ca6b458e6
commit 894fed3e80
11 changed files with 84 additions and 52 deletions

View File

@@ -119,25 +119,25 @@ let editorContext_ = null;
/**
* @function module:path.EditorContext#clearSelection
* @param {boolean} [noCall] - When `true`, does not call the "selected" handler
* @returns {undefined}
* @returns {void}
*/
/**
* @function module:path.EditorContext#addToSelection
* @param {Element[]} elemsToAdd - An array of DOM elements to add to the selection
* @param {boolean} showGrips - Indicates whether the resize grips should be shown
* @returns {undefined}
* @returns {void}
*/
/**
* @function module:path.EditorContext#addCommandToHistory
* @param {Command} cmd
* @returns {undefined}
* @returns {void}
*/
/**
* @function module:path.EditorContext#remapElement
* @param {Element} selected - DOM element to be changed
* @param {PlainObject.<string, string>} changes - Object with changes to be remapped
* @param {SVGMatrix} m - Matrix object to use for remapping coordinates
* @returns {undefined}
* @returns {void}
*/
/**
* @function module:path.EditorContext#addSVGElementFromJson