- Linting: Use new preference for "object"; fix @example code; bad @returns

- npm: Update devDeps
This commit is contained in:
Brett Zamir
2019-05-22 23:37:27 +08:00
parent 8d179aee0c
commit d5ef6c5619
28 changed files with 427 additions and 282 deletions

View File

@@ -17,9 +17,9 @@ const $ = jQuery;
* an existing group element or, with three parameters, will create a new layer group element.
*
* @example
* new Layer('name', group); // Use the existing group for this layer.
* new Layer('name', group, svgElem); // Create a new group and add it to the DOM after group.
* new Layer('name', null, svgElem); // Create a new group and add it to the DOM as the last layer.
* const l1 = new Layer('name', group); // Use the existing group for this layer.
* const l2 = new Layer('name', group, svgElem); // Create a new group and add it to the DOM after group.
* const l3 = new Layer('name', null, svgElem); // Create a new group and add it to the DOM as the last layer.
* @memberof module:layer
*/
class Layer {