Bugfix/separate declaration from exposition (#245)

* Separate definition from exposition

* Suppress previous documentation before generating new one

* Restore deleted line

* Set up verbosity to provide details on what's going on
This commit is contained in:
tetedacier
2018-05-29 18:43:02 +02:00
committed by Jeff Schiller
parent 76db126ec7
commit d098dc0914
7 changed files with 17 additions and 6 deletions

View File

@@ -28,7 +28,7 @@ const $ = jQuery;
* @param {SVGGElement=} svgElem - The SVG DOM element. If defined, use this to add
* a new layer to the document.
*/
export default class Layer {
class Layer {
constructor (name, group, svgElem) {
this.name_ = name;
this.group_ = svgElem ? null : group;
@@ -208,3 +208,5 @@ function addLayerClass (elem) {
elem.setAttribute('class', classes + ' ' + Layer.CLASS_NAME);
}
}
export default Layer;