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

- npm: Update devDeps; use stable eslint-plugin-mocha-cleanup now that updated
- npm: Add scripts for reporting with test summaries (free of full noise during tests);
    auto-run at end of tests
- npm: Update devDeps. and use stable version of eslint-plugin-mocha-cleanup
This commit is contained in:
Brett Zamir
2020-03-11 00:23:54 +08:00
parent 231fdb2189
commit f3a83dcb1d
23 changed files with 315 additions and 113 deletions

View File

@@ -18651,7 +18651,8 @@
var _svgcontent = svgcontent,
nextSibling = _svgcontent.nextSibling;
var oldzoom = svgroot.removeChild(svgcontent);
svgcontent.remove();
var oldzoom = svgcontent;
batchCmd.addSubCommand(new RemoveElementCommand$1(oldzoom, nextSibling, svgroot)); // set new svg document
// If DOM3 adoptNode() available, use it. Otherwise fall back to DOM2 importNode()
@@ -20722,7 +20723,8 @@
var _t = t,
nextSibling = _t.nextSibling;
var elem = parent.removeChild(t);
t.remove();
var elem = t;
selectedCopy.push(selected); // for the copy
batchCmd.addSubCommand(new RemoveElementCommand$1(elem, nextSibling, parent));
@@ -21258,7 +21260,7 @@
clearSelection(); // delete the group element (but make undo-able)
var gNextSibling = g.nextSibling;
g = parent.removeChild(g);
g.remove();
batchCmd.addSubCommand(new RemoveElementCommand$1(g, gNextSibling, parent));
if (!batchCmd.isEmpty()) {