- Linting: For non-jQuery methods, apply no-fn-reference-in-iterator rule (though still keep rule disabled due to numerous jQuery false positives)

- Linting: With num. of warnings set to 0, probably need to disable `check-examples` for those environments having problems
- Linting: Reenable Unicorn rules now that updated
This commit is contained in:
Brett Zamir
2020-07-26 10:11:41 +08:00
parent 630a76c1b6
commit 41f9d801bf
16 changed files with 40 additions and 40 deletions

View File

@@ -6443,9 +6443,9 @@ this.pasteElements = function (type, x, y) {
changedIDs[elem.attr.id] = getNextId();
elem.attr.id = changedIDs[elem.attr.id];
}
if (elem.children) elem.children.forEach(checkIDs);
if (elem.children) elem.children.forEach((child) => checkIDs(child));
}
clipb.forEach(checkIDs);
clipb.forEach((elem) => checkIDs(elem));
// Give extensions like the connector extension a chance to reflect new IDs and remove invalid elements
/**