diff options
author | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2021-01-13 17:26:33 +0100 |
---|---|---|
committer | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2021-01-13 17:26:33 +0100 |
commit | 4524c20b48abe08e69c25a7382a289592d147496 (patch) | |
tree | 3e475fe673d5acd800180282e84df03d396106f3 /src/elements/Line.js | |
parent | 4f4dc2afa62cb899a5cae72c359150f8adf27edb (diff) | |
download | svg.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.js | 2 |
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()) } } |