- Fix (jPicker): Avoid setting Math.precision pseudo-global

- Refactoring (jPicker): Use ES6 templates; avoid unnecessary check
- Refactoring: Avoid useless assignment (courtesty lgtm)
- Build: Update files
This commit is contained in:
Brett Zamir
2018-09-22 08:49:14 +08:00
parent be17cd249c
commit dab1ff81af
15 changed files with 399 additions and 439 deletions

View File

@@ -431,8 +431,7 @@ export const recalculateDimensions = function (selected) {
const children = selected.childNodes;
let c = children.length;
let clipPathsDone = [];
const clipPathsDone = [];
while (c--) {
const child = children.item(c);
if (child.nodeType === 1) {
@@ -479,8 +478,6 @@ export const recalculateDimensions = function (selected) {
}
}
}
clipPathsDone = [];
context_.setStartTransform(oldStartTransform);
}
// else, a matrix imposition from a parent group