- 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

@@ -29,7 +29,7 @@ class Layer {
* If group and no svgElem, use group for this layer.
* If group and svgElem, create a new group element and insert it in the DOM after group.
* If no group and svgElem, create a new group element and insert it in the DOM as the last layer.
* @param {SVGGElement=} svgElem - The SVG DOM element. If defined, use this to add
* @param {SVGGElement} [svgElem] - The SVG DOM element. If defined, use this to add
* a new layer to the document.
*/
constructor (name, group, svgElem) {