diff options
Diffstat (limited to 'src/elements/Rect.js')
-rw-r--r-- | src/elements/Rect.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/elements/Rect.js b/src/elements/Rect.js index 0ed85fc..749cf6d 100644 --- a/src/elements/Rect.js +++ b/src/elements/Rect.js @@ -10,7 +10,7 @@ import Shape from './Shape.js' export default class Rect extends Shape { // Initialize node - constructor (node, attrs = node) { + constructor(node, attrs = node) { super(nodeOrNew('rect', node), attrs) } } |