aboutsummaryrefslogtreecommitdiffstats
path: root/src/elements/Polygon.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/elements/Polygon.js')
-rw-r--r--src/elements/Polygon.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/elements/Polygon.js b/src/elements/Polygon.js
index 0c99aa7..d64dcb3 100644
--- a/src/elements/Polygon.js
+++ b/src/elements/Polygon.js
@@ -12,7 +12,7 @@ import * as poly from '../modules/core/poly.js'
export default class Polygon extends Shape {
// Initialize node
- constructor (node, attrs = node) {
+ constructor(node, attrs = node) {
super(nodeOrNew('polygon', node), attrs)
}
}