diff options
Diffstat (limited to 'src/elements/Polyline.js')
-rw-r--r-- | src/elements/Polyline.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/elements/Polyline.js b/src/elements/Polyline.js index e390da3..2f063f2 100644 --- a/src/elements/Polyline.js +++ b/src/elements/Polyline.js @@ -12,7 +12,7 @@ import * as poly from '../modules/core/poly.js' export default class Polyline extends Shape { // Initialize node - constructor (node, attrs = node) { + constructor(node, attrs = node) { super(nodeOrNew('polyline', node), attrs) } } |