- Linting (ESLint): As per latest ash-nazg

This commit is contained in:
Brett Zamir
2020-03-27 20:39:51 +08:00
parent 1f1452f4fa
commit 7914f26e02
20 changed files with 113 additions and 101 deletions

View File

@@ -158,8 +158,8 @@ export const transformListToTransform = function (tlist, min, max) {
}
min = min || 0;
max = max || (tlist.numberOfItems - 1);
min = parseInt(min);
max = parseInt(max);
min = Number.parseInt(min);
max = Number.parseInt(max);
if (min > max) { const temp = max; max = min; min = temp; }
let m = svg.createSVGMatrix();
for (let i = min; i <= max; ++i) {