run tests after update
This commit is contained in:
2
dist/extensions/ext-connector.js
vendored
2
dist/extensions/ext-connector.js
vendored
@@ -1,8 +1,6 @@
|
||||
var svgEditorExtension_connector = (function () {
|
||||
'use strict';
|
||||
|
||||
/* eslint-disable unicorn/no-fn-reference-in-iterator */
|
||||
|
||||
/**
|
||||
* @file ext-connector.js
|
||||
*
|
||||
|
||||
7
dist/extensions/imagelib/openclipart.js
vendored
7
dist/extensions/imagelib/openclipart.js
vendored
@@ -765,8 +765,7 @@
|
||||
while (node.childNodes[j]) {
|
||||
const cn = node.childNodes[j];
|
||||
cn.remove(); // `j` should stay the same as removing will cause node to be present
|
||||
} // eslint-disable-next-line unicorn/no-fn-reference-in-iterator
|
||||
|
||||
}
|
||||
|
||||
attVal.childNodes.forEach(_childrenToJML(node));
|
||||
} else {
|
||||
@@ -792,13 +791,11 @@
|
||||
}
|
||||
|
||||
if (attVal.head) {
|
||||
// eslint-disable-next-line unicorn/no-fn-reference-in-iterator
|
||||
attVal.head.forEach(_appendJML(head));
|
||||
}
|
||||
}
|
||||
|
||||
if (attVal.body) {
|
||||
// eslint-disable-next-line unicorn/no-fn-reference-in-iterator
|
||||
attVal.body.forEach(_appendJMLOrText(body));
|
||||
}
|
||||
}
|
||||
@@ -1067,7 +1064,7 @@
|
||||
// Todo: Fix to allow application of stylesheets of style tags within fragments?
|
||||
|
||||
|
||||
return nodes.length <= 1 ? nodes[0] // eslint-disable-next-line unicorn/no-fn-reference-in-iterator
|
||||
return nodes.length <= 1 ? nodes[0] // eslint-disable-next-line
|
||||
: nodes.reduce(_fragReducer, doc.createDocumentFragment()); // nodes;
|
||||
}
|
||||
|
||||
|
||||
10
dist/index-es.js
vendored
10
dist/index-es.js
vendored
@@ -4826,7 +4826,7 @@ const getElem = supportsSelectors() ? function (id) {
|
||||
}, 9, null).singleNodeValue;
|
||||
} : function (id) {
|
||||
// jQuery lookup: twice as slow as xpath in FF
|
||||
return $$1(svgroot_).find('[id=' + id + ']')[0];
|
||||
return $$1(svgroot_).find(`[id=${id}]`)[0];
|
||||
};
|
||||
/**
|
||||
* Assigns multiple attributes to an element.
|
||||
@@ -5721,7 +5721,6 @@ class Command {
|
||||
* @implements {module:history.HistoryCommand}
|
||||
*/
|
||||
|
||||
|
||||
class MoveElementCommand extends Command {
|
||||
/**
|
||||
* @param {Element} elem - The DOM element that was moved
|
||||
@@ -6051,7 +6050,7 @@ class BatchCommand extends Command {
|
||||
|
||||
unapply(handler) {
|
||||
super.unapply(handler, () => {
|
||||
this.stack.forEach(stackItem => {
|
||||
this.stack.reverse().forEach(stackItem => {
|
||||
console.assert(stackItem, 'stack item should not be null');
|
||||
stackItem && stackItem.unapply(handler);
|
||||
});
|
||||
@@ -6282,6 +6281,7 @@ class UndoManager {
|
||||
var hstry = /*#__PURE__*/Object.freeze({
|
||||
__proto__: null,
|
||||
HistoryEventTypes: HistoryEventTypes,
|
||||
Command: Command,
|
||||
MoveElementCommand: MoveElementCommand,
|
||||
InsertElementCommand: InsertElementCommand,
|
||||
RemoveElementCommand: RemoveElementCommand,
|
||||
@@ -12953,7 +12953,7 @@ const init$6 = function (config, svgFactory) {
|
||||
|
||||
const getSelectorManager = () => selectorManager_;
|
||||
|
||||
/* eslint-disable indent, unicorn/no-fn-reference-in-iterator */
|
||||
/* eslint-disable indent */
|
||||
let $$a = jQueryPluginSVG(jQuery);
|
||||
const {
|
||||
MoveElementCommand: MoveElementCommand$1,
|
||||
@@ -27221,7 +27221,7 @@ const jPicker = function ($) {
|
||||
return $;
|
||||
};
|
||||
|
||||
/* eslint-disable unicorn/no-fn-reference-in-iterator */
|
||||
/* globals jQuery */
|
||||
const $$b = jQuery;
|
||||
let langParam;
|
||||
/**
|
||||
|
||||
4
dist/index-es.min.js
vendored
4
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
12
dist/index-umd.js
vendored
12
dist/index-umd.js
vendored
@@ -1,7 +1,7 @@
|
||||
(function (global, factory) {
|
||||
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
|
||||
typeof define === 'function' && define.amd ? define(factory) :
|
||||
(global = global || self, global.svgEditor = factory());
|
||||
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.svgEditor = factory());
|
||||
}(this, (function () { 'use strict';
|
||||
|
||||
// http://ross.posterous.com/2008/08/19/iphone-touch-events-in-javascript/
|
||||
@@ -4832,7 +4832,7 @@
|
||||
}, 9, null).singleNodeValue;
|
||||
} : function (id) {
|
||||
// jQuery lookup: twice as slow as xpath in FF
|
||||
return $$1(svgroot_).find('[id=' + id + ']')[0];
|
||||
return $$1(svgroot_).find(`[id=${id}]`)[0];
|
||||
};
|
||||
/**
|
||||
* Assigns multiple attributes to an element.
|
||||
@@ -5727,7 +5727,6 @@
|
||||
* @implements {module:history.HistoryCommand}
|
||||
*/
|
||||
|
||||
|
||||
class MoveElementCommand extends Command {
|
||||
/**
|
||||
* @param {Element} elem - The DOM element that was moved
|
||||
@@ -6057,7 +6056,7 @@
|
||||
|
||||
unapply(handler) {
|
||||
super.unapply(handler, () => {
|
||||
this.stack.forEach(stackItem => {
|
||||
this.stack.reverse().forEach(stackItem => {
|
||||
console.assert(stackItem, 'stack item should not be null');
|
||||
stackItem && stackItem.unapply(handler);
|
||||
});
|
||||
@@ -6288,6 +6287,7 @@
|
||||
var hstry = /*#__PURE__*/Object.freeze({
|
||||
__proto__: null,
|
||||
HistoryEventTypes: HistoryEventTypes,
|
||||
Command: Command,
|
||||
MoveElementCommand: MoveElementCommand,
|
||||
InsertElementCommand: InsertElementCommand,
|
||||
RemoveElementCommand: RemoveElementCommand,
|
||||
@@ -12959,7 +12959,7 @@
|
||||
|
||||
const getSelectorManager = () => selectorManager_;
|
||||
|
||||
/* eslint-disable indent, unicorn/no-fn-reference-in-iterator */
|
||||
/* eslint-disable indent */
|
||||
let $$a = jQueryPluginSVG(jQuery);
|
||||
const {
|
||||
MoveElementCommand: MoveElementCommand$1,
|
||||
@@ -27227,7 +27227,7 @@
|
||||
return $;
|
||||
};
|
||||
|
||||
/* eslint-disable unicorn/no-fn-reference-in-iterator */
|
||||
/* globals jQuery */
|
||||
const $$b = jQuery;
|
||||
let langParam;
|
||||
/**
|
||||
|
||||
6
dist/index-umd.min.js
vendored
6
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
8
dist/svgcanvas-iife.js
vendored
8
dist/svgcanvas-iife.js
vendored
@@ -4635,7 +4635,7 @@ var SvgCanvas = (function () {
|
||||
}, 9, null).singleNodeValue;
|
||||
} : function (id) {
|
||||
// jQuery lookup: twice as slow as xpath in FF
|
||||
return $$1(svgroot_).find('[id=' + id + ']')[0];
|
||||
return $$1(svgroot_).find(`[id=${id}]`)[0];
|
||||
};
|
||||
/**
|
||||
* Assigns multiple attributes to an element.
|
||||
@@ -5129,7 +5129,6 @@ var SvgCanvas = (function () {
|
||||
* @implements {module:history.HistoryCommand}
|
||||
*/
|
||||
|
||||
|
||||
class MoveElementCommand extends Command {
|
||||
/**
|
||||
* @param {Element} elem - The DOM element that was moved
|
||||
@@ -5459,7 +5458,7 @@ var SvgCanvas = (function () {
|
||||
|
||||
unapply(handler) {
|
||||
super.unapply(handler, () => {
|
||||
this.stack.forEach(stackItem => {
|
||||
this.stack.reverse().forEach(stackItem => {
|
||||
console.assert(stackItem, 'stack item should not be null');
|
||||
stackItem && stackItem.unapply(handler);
|
||||
});
|
||||
@@ -5690,6 +5689,7 @@ var SvgCanvas = (function () {
|
||||
var hstry = /*#__PURE__*/Object.freeze({
|
||||
__proto__: null,
|
||||
HistoryEventTypes: HistoryEventTypes,
|
||||
Command: Command,
|
||||
MoveElementCommand: MoveElementCommand,
|
||||
InsertElementCommand: InsertElementCommand,
|
||||
RemoveElementCommand: RemoveElementCommand,
|
||||
@@ -12541,7 +12541,7 @@ var SvgCanvas = (function () {
|
||||
|
||||
const getSelectorManager = () => selectorManager_;
|
||||
|
||||
/* eslint-disable indent, unicorn/no-fn-reference-in-iterator */
|
||||
/* eslint-disable indent */
|
||||
let $$9 = jQueryPluginSVG(jQuery);
|
||||
const {
|
||||
MoveElementCommand: MoveElementCommand$1,
|
||||
|
||||
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