aboutsummaryrefslogtreecommitdiffstats
path: root/src/elements/Line.js
diff options
context:
space:
mode:
authorUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2021-01-13 17:26:33 +0100
committerUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2021-01-13 17:26:33 +0100
commit4524c20b48abe08e69c25a7382a289592d147496 (patch)
tree3e475fe673d5acd800180282e84df03d396106f3 /src/elements/Line.js
parent4f4dc2afa62cb899a5cae72c359150f8adf27edb (diff)
downloadsvg.js-4524c20b48abe08e69c25a7382a289592d147496.tar.gz
svg.js-4524c20b48abe08e69c25a7382a289592d147496.zip
update dependencies, apply new linter fixes
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 1b72a7d..9350a23 100644
--- a/src/elements/Line.js
+++ b/src/elements/Line.js
@@ -44,7 +44,7 @@ export default class Line extends Shape {
// Set element size to given width and height
size (width, height) {
- var p = proportionalSize(this, width, height)
+ const p = proportionalSize(this, width, height)
return this.attr(this.array().size(p.width, p.height).toLine())
}
}