- 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:
6
dist/extensions/ext-imagelib.js
vendored
6
dist/extensions/ext-imagelib.js
vendored
@@ -515,7 +515,11 @@ var svgEditorExtension_imagelib = (function () {
|
||||
url = _ref2.url,
|
||||
description = _ref2.description;
|
||||
// Todo: Adopt some standard formatting library like `fluent.js` instead
|
||||
url = url.replace(/\{path\}/g, extIconsPath).replace(/\{modularVersion\}/g, modularVersion ? imagelibStrings.moduleEnding || '-es' : '');
|
||||
url = url // Keep these regexes as is in prep. for switching to `u` flag
|
||||
// which will require escaping
|
||||
// eslint-disable-next-line unicorn/better-regex
|
||||
.replace(/\{path\}/g, extIconsPath).replace( // eslint-disable-next-line unicorn/better-regex
|
||||
/\{modularVersion\}/g, modularVersion ? imagelibStrings.moduleEnding || '-es' : '');
|
||||
return {
|
||||
name: name,
|
||||
url: url,
|
||||
|
||||
8
dist/index-es.js
vendored
8
dist/index-es.js
vendored
@@ -18648,7 +18648,8 @@ function SvgCanvas(container, config) {
|
||||
|
||||
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()
|
||||
|
||||
@@ -20719,7 +20720,8 @@ function SvgCanvas(container, config) {
|
||||
|
||||
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));
|
||||
@@ -21255,7 +21257,7 @@ function SvgCanvas(container, config) {
|
||||
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()) {
|
||||
|
||||
2
dist/index-es.min.js
vendored
2
dist/index-es.min.js
vendored
File diff suppressed because one or more lines are too long
2
dist/index-es.min.js.map
vendored
2
dist/index-es.min.js.map
vendored
File diff suppressed because one or more lines are too long
8
dist/index-umd.js
vendored
8
dist/index-umd.js
vendored
@@ -18654,7 +18654,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()
|
||||
|
||||
@@ -20725,7 +20726,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));
|
||||
@@ -21261,7 +21263,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()) {
|
||||
|
||||
2
dist/index-umd.min.js
vendored
2
dist/index-umd.min.js
vendored
File diff suppressed because one or more lines are too long
2
dist/index-umd.min.js.map
vendored
2
dist/index-umd.min.js.map
vendored
File diff suppressed because one or more lines are too long
2
dist/jspdf.plugin.svgToPdf.js
vendored
2
dist/jspdf.plugin.svgToPdf.js
vendored
@@ -909,7 +909,7 @@
|
||||
};
|
||||
}
|
||||
|
||||
document.body.removeChild(svg);
|
||||
svg.remove();
|
||||
}
|
||||
|
||||
return box.width;
|
||||
|
||||
8
dist/svgcanvas-iife.js
vendored
8
dist/svgcanvas-iife.js
vendored
@@ -18338,7 +18338,8 @@ var SvgCanvas = (function () {
|
||||
|
||||
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()
|
||||
|
||||
@@ -20409,7 +20410,8 @@ var SvgCanvas = (function () {
|
||||
|
||||
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));
|
||||
@@ -20945,7 +20947,7 @@ var SvgCanvas = (function () {
|
||||
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()) {
|
||||
|
||||
2
dist/svgcanvas-iife.min.js
vendored
2
dist/svgcanvas-iife.min.js
vendored
File diff suppressed because one or more lines are too long
2
dist/svgcanvas-iife.min.js.map
vendored
2
dist/svgcanvas-iife.min.js.map
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user