diff options
-rw-r--r-- | package-lock.json | 2 | ||||
-rw-r--r-- | src/types/PathArray.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/package-lock.json b/package-lock.json index f9c9568..2069348 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "@svgdotjs/svg.js", - "version": "3.1.0", + "version": "3.1.1", "lockfileVersion": 1, "requires": true, "dependencies": { 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') { |