aboutsummaryrefslogtreecommitdiffstats
path: root/src/elements/Rect.js
diff options
context:
space:
mode:
authorUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2023-06-13 01:43:37 +0200
committerUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2023-06-13 01:43:37 +0200
commit03322672782a6318b019eff33fe44ec800d6f12c (patch)
tree9d807e1585cf28a1ea98e87b855932dba00f1880 /src/elements/Rect.js
parent8e18b4698edd00f83af0be05bb3374f92fecaeb9 (diff)
downloadsvg.js-03322672782a6318b019eff33fe44ec800d6f12c.tar.gz
svg.js-03322672782a6318b019eff33fe44ec800d6f12c.zip
dependency updates, easier formatting
Diffstat (limited to 'src/elements/Rect.js')
-rw-r--r--src/elements/Rect.js2
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)
}
}