aboutsummaryrefslogtreecommitdiffstats
path: root/src/elements/Line.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/elements/Line.js')
-rw-r--r--src/elements/Line.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/elements/Line.js b/src/elements/Line.js
index b9bc4e8..ba15135 100644
--- a/src/elements/Line.js
+++ b/src/elements/Line.js
@@ -8,7 +8,7 @@ import * as pointed from '../modules/core/pointed.js'
export default class Line extends Shape {
// Initialize node
constructor (node) {
- super(nodeOrNew('line', node), Line)
+ super(nodeOrNew('line', node), node)
}
// Get array