diff options
author | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2021-06-25 15:37:33 +0200 |
---|---|---|
committer | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2021-06-25 15:37:33 +0200 |
commit | 33e755bab5123f0e4c4eec32f9221a756492d178 (patch) | |
tree | e992742b16d83d03a494c15b8e2ae51f8ffafcef /src/types | |
parent | ac2c85d420c40ac40e94c889c27156861df95481 (diff) | |
download | svg.js-33e755bab5123f0e4c4eec32f9221a756492d178.tar.gz svg.js-33e755bab5123f0e4c4eec32f9221a756492d178.zip |
package-lock3.1.1
Diffstat (limited to 'src/types')
-rw-r--r-- | src/types/PathArray.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/types/PathArray.js b/src/types/PathArray.js index 10e7b07..8a37ac4 100644 --- a/src/types/PathArray.js +++ b/src/types/PathArray.js @@ -58,7 +58,7 @@ export default class PathArray extends SVGArray { if (!isNaN(x) && !isNaN(y)) { // move every point - for (var l, i = this.length - 1; i >= 0; i--) { + for (let l, i = this.length - 1; i >= 0; i--) { l = this[i][0] if (l === 'M' || l === 'L' || l === 'T') { |