npm update
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
/* globals $ */
|
||||
|
||||
// eslint-disable-next-line node/no-unpublished-import
|
||||
import deparam from 'deparam';
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
/* eslint-disable max-len */
|
||||
/* eslint-disable unicorn/prefer-math-trunc */
|
||||
/* eslint-disable no-bitwise */
|
||||
/**
|
||||
* @external Math
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/* eslint-disable unicorn/prefer-math-trunc */
|
||||
/* eslint-disable no-bitwise */
|
||||
/* eslint-disable unicorn/prefer-ternary */
|
||||
import {findPos} from './Util.js';
|
||||
/**
|
||||
* Whether a value is `null` or `undefined`.
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
/* eslint-disable no-loop-func */
|
||||
/* eslint-disable unicorn/prefer-node-remove */
|
||||
/* eslint-disable prefer-destructuring */
|
||||
/* eslint-disable no-unsanitized/property */
|
||||
/**
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
/* eslint-disable no-unsanitized/property */
|
||||
/**
|
||||
* @file jPicker (Adapted from version 1.1.6)
|
||||
*
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
/* eslint-disable no-unsanitized/property */
|
||||
const template = document.createElement('template');
|
||||
template.innerHTML = `
|
||||
<style>
|
||||
|
||||
@@ -110,6 +110,7 @@ svgCanvas.setSvgString('string');
|
||||
svgCanvas.setSvgString('string')(function (data, error) {
|
||||
if (error) {
|
||||
// There was an error
|
||||
throw error
|
||||
} else {
|
||||
// Handle data
|
||||
}
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
/* eslint-disable node/no-unpublished-import */
|
||||
import {jml, body, nbsp} from 'jamilih';
|
||||
import $ from 'query-result';
|
||||
import {manipulation} from 'qr-manipulation';
|
||||
|
||||
@@ -1010,11 +1010,10 @@ class Editor extends EditorStartup {
|
||||
*/
|
||||
// eslint-disable-next-line class-methods-use-this
|
||||
makeFlyoutHolder (id, child) {
|
||||
const div = $('<div>', {
|
||||
return $('<div>', {
|
||||
class: 'tools_flyout',
|
||||
id
|
||||
}).appendTo('#svg_editor').append(child);
|
||||
return div;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,11 +1,12 @@
|
||||
/* globals jQuery */
|
||||
import {jGraduate} from '../editor/components/jgraduate/jQuery.jGraduate.js';
|
||||
/**
|
||||
* @module elem-get-set get and set methods.
|
||||
* @license MIT
|
||||
* @copyright 2011 Jeff Schiller
|
||||
*/
|
||||
|
||||
/* globals jQuery */
|
||||
import {jGraduate} from '../editor/components/jgraduate/jQuery.jGraduate.js';
|
||||
|
||||
import * as hstry from './history.js';
|
||||
import jQueryPluginSVG from './jQuery.attr.js';
|
||||
import {NS} from '../common/namespaces.js';
|
||||
|
||||
@@ -2708,7 +2708,7 @@ class SvgCanvas {
|
||||
* @returns {module:svgcanvas.PrivateMethods}
|
||||
*/
|
||||
this.getPrivateMethods = function () {
|
||||
const obj = {
|
||||
return {
|
||||
addCommandToHistory,
|
||||
BatchCommand,
|
||||
ChangeElementCommand,
|
||||
@@ -2737,7 +2737,6 @@ class SvgCanvas {
|
||||
transformPoint,
|
||||
walkTree
|
||||
};
|
||||
return obj;
|
||||
};
|
||||
} // End constructor
|
||||
} // End class
|
||||
|
||||
Reference in New Issue
Block a user