This commit is contained in:
JFH
2020-07-26 21:49:14 +02:00
parent 2bd4da081a
commit ba603f4a3e
13 changed files with 17423 additions and 16023 deletions

View File

@@ -63,6 +63,7 @@
var node = document.createDocumentFragment();
nodes.forEach(function (n) {
// // eslint-disable-next-line unicorn/prefer-node-append
node.appendChild(n);
});
return node;
@@ -82,7 +83,8 @@
nodes[_key2] = arguments[_key2];
}
nodes = convertNodesIntoANode(nodes);
nodes = convertNodesIntoANode(nodes); // // eslint-disable-next-line unicorn/prefer-node-append
this.appendChild(nodes);
}
};

8
dist/index-es.js vendored
View File

@@ -20894,10 +20894,14 @@ function SvgCanvas(container, config) {
elem.attr.id = changedIDs[elem.attr.id];
}
if (elem.children) elem.children.forEach(checkIDs);
if (elem.children) elem.children.forEach(function (child) {
return checkIDs(child);
});
}
clipb.forEach(checkIDs); // Give extensions like the connector extension a chance to reflect new IDs and remove invalid elements
clipb.forEach(function (elem) {
return checkIDs(elem);
}); // Give extensions like the connector extension a chance to reflect new IDs and remove invalid elements
/**
* Triggered when `pasteElements` is called from a paste action (context menu or key).

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

8
dist/index-umd.js vendored
View File

@@ -20900,10 +20900,14 @@
elem.attr.id = changedIDs[elem.attr.id];
}
if (elem.children) elem.children.forEach(checkIDs);
if (elem.children) elem.children.forEach(function (child) {
return checkIDs(child);
});
}
clipb.forEach(checkIDs); // Give extensions like the connector extension a chance to reflect new IDs and remove invalid elements
clipb.forEach(function (elem) {
return checkIDs(elem);
}); // Give extensions like the connector extension a chance to reflect new IDs and remove invalid elements
/**
* Triggered when `pasteElements` is called from a paste action (context menu or key).

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -20581,10 +20581,14 @@ var SvgCanvas = (function () {
elem.attr.id = changedIDs[elem.attr.id];
}
if (elem.children) elem.children.forEach(checkIDs);
if (elem.children) elem.children.forEach(function (child) {
return checkIDs(child);
});
}
clipb.forEach(checkIDs); // Give extensions like the connector extension a chance to reflect new IDs and remove invalid elements
clipb.forEach(function (elem) {
return checkIDs(elem);
}); // Give extensions like the connector extension a chance to reflect new IDs and remove invalid elements
/**
* Triggered when `pasteElements` is called from a paste action (context menu or key).

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long