- Linting (ESLint): Update as per latest ash-nazg (bad jsdoc)
- npm: Update devDepsmaster
parent
c9e17b8aa7
commit
477d5fdb6c
|
@ -15,6 +15,7 @@
|
||||||
- Localization: Add 'SVG-Edit Home Page' to locale files
|
- Localization: Add 'SVG-Edit Home Page' to locale files
|
||||||
- Linting (ESLint): Simplify regexes
|
- Linting (ESLint): Simplify regexes
|
||||||
- Linting (ESLint): Replace `innerHTML` with `textContent` from old demo
|
- Linting (ESLint): Replace `innerHTML` with `textContent` from old demo
|
||||||
|
- Linting (ESLint): Update as per latest ash-nazg (bad jsdoc)
|
||||||
- Testing: Switch to Cypress with code coverage for UI testing;
|
- Testing: Switch to Cypress with code coverage for UI testing;
|
||||||
use ESM version for faster debugging
|
use ESM version for faster debugging
|
||||||
- Testing: Add map file for underscore
|
- Testing: Add map file for underscore
|
||||||
|
|
|
@ -911,17 +911,17 @@ var canvg = (function (exports) {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @typedef {PlainObject} module:canvg.CanvgOptions
|
* @typedef {PlainObject} module:canvg.CanvgOptions
|
||||||
* @property {boolean} opts.ignoreMouse true => ignore mouse events
|
* @property {boolean} ignoreMouse true => ignore mouse events
|
||||||
* @property {boolean} opts.ignoreAnimation true => ignore animations
|
* @property {boolean} ignoreAnimation true => ignore animations
|
||||||
* @property {boolean} opts.ignoreDimensions true => does not try to resize canvas
|
* @property {boolean} ignoreDimensions true => does not try to resize canvas
|
||||||
* @property {boolean} opts.ignoreClear true => does not clear canvas
|
* @property {boolean} ignoreClear true => does not clear canvas
|
||||||
* @property {Integer} opts.offsetX int => draws at a x offset
|
* @property {Integer} offsetX int => draws at a x offset
|
||||||
* @property {Integer} opts.offsetY int => draws at a y offset
|
* @property {Integer} offsetY int => draws at a y offset
|
||||||
* @property {Integer} opts.scaleWidth int => scales horizontally to width
|
* @property {Integer} scaleWidth int => scales horizontally to width
|
||||||
* @property {Integer} opts.scaleHeight int => scales vertically to height
|
* @property {Integer} scaleHeight int => scales vertically to height
|
||||||
* @property {module:canvg.ForceRedraw} opts.forceRedraw function => will call the function on every frame, if it returns true, will redraw
|
* @property {module:canvg.ForceRedraw} forceRedraw function => will call the function on every frame, if it returns true, will redraw
|
||||||
* @property {boolean} opts.log Adds log function
|
* @property {boolean} log Adds log function
|
||||||
* @property {boolean} opts.useCORS Whether to set CORS `crossOrigin` for the image to `Anonymous`
|
* @property {boolean} useCORS Whether to set CORS `crossOrigin` for the image to `Anonymous`
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -911,17 +911,17 @@ var svgEditorExtension_server_moinsave = (function () {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @typedef {PlainObject} module:canvg.CanvgOptions
|
* @typedef {PlainObject} module:canvg.CanvgOptions
|
||||||
* @property {boolean} opts.ignoreMouse true => ignore mouse events
|
* @property {boolean} ignoreMouse true => ignore mouse events
|
||||||
* @property {boolean} opts.ignoreAnimation true => ignore animations
|
* @property {boolean} ignoreAnimation true => ignore animations
|
||||||
* @property {boolean} opts.ignoreDimensions true => does not try to resize canvas
|
* @property {boolean} ignoreDimensions true => does not try to resize canvas
|
||||||
* @property {boolean} opts.ignoreClear true => does not clear canvas
|
* @property {boolean} ignoreClear true => does not clear canvas
|
||||||
* @property {Integer} opts.offsetX int => draws at a x offset
|
* @property {Integer} offsetX int => draws at a x offset
|
||||||
* @property {Integer} opts.offsetY int => draws at a y offset
|
* @property {Integer} offsetY int => draws at a y offset
|
||||||
* @property {Integer} opts.scaleWidth int => scales horizontally to width
|
* @property {Integer} scaleWidth int => scales horizontally to width
|
||||||
* @property {Integer} opts.scaleHeight int => scales vertically to height
|
* @property {Integer} scaleHeight int => scales vertically to height
|
||||||
* @property {module:canvg.ForceRedraw} opts.forceRedraw function => will call the function on every frame, if it returns true, will redraw
|
* @property {module:canvg.ForceRedraw} forceRedraw function => will call the function on every frame, if it returns true, will redraw
|
||||||
* @property {boolean} opts.log Adds log function
|
* @property {boolean} log Adds log function
|
||||||
* @property {boolean} opts.useCORS Whether to set CORS `crossOrigin` for the image to `Anonymous`
|
* @property {boolean} useCORS Whether to set CORS `crossOrigin` for the image to `Anonymous`
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -911,17 +911,17 @@ var svgEditorExtension_server_opensave = (function () {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @typedef {PlainObject} module:canvg.CanvgOptions
|
* @typedef {PlainObject} module:canvg.CanvgOptions
|
||||||
* @property {boolean} opts.ignoreMouse true => ignore mouse events
|
* @property {boolean} ignoreMouse true => ignore mouse events
|
||||||
* @property {boolean} opts.ignoreAnimation true => ignore animations
|
* @property {boolean} ignoreAnimation true => ignore animations
|
||||||
* @property {boolean} opts.ignoreDimensions true => does not try to resize canvas
|
* @property {boolean} ignoreDimensions true => does not try to resize canvas
|
||||||
* @property {boolean} opts.ignoreClear true => does not clear canvas
|
* @property {boolean} ignoreClear true => does not clear canvas
|
||||||
* @property {Integer} opts.offsetX int => draws at a x offset
|
* @property {Integer} offsetX int => draws at a x offset
|
||||||
* @property {Integer} opts.offsetY int => draws at a y offset
|
* @property {Integer} offsetY int => draws at a y offset
|
||||||
* @property {Integer} opts.scaleWidth int => scales horizontally to width
|
* @property {Integer} scaleWidth int => scales horizontally to width
|
||||||
* @property {Integer} opts.scaleHeight int => scales vertically to height
|
* @property {Integer} scaleHeight int => scales vertically to height
|
||||||
* @property {module:canvg.ForceRedraw} opts.forceRedraw function => will call the function on every frame, if it returns true, will redraw
|
* @property {module:canvg.ForceRedraw} forceRedraw function => will call the function on every frame, if it returns true, will redraw
|
||||||
* @property {boolean} opts.log Adds log function
|
* @property {boolean} log Adds log function
|
||||||
* @property {boolean} opts.useCORS Whether to set CORS `crossOrigin` for the image to `Anonymous`
|
* @property {boolean} useCORS Whether to set CORS `crossOrigin` for the image to `Anonymous`
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -6802,6 +6802,8 @@ function pathDSegment(letter, points, morePoints, lastPoint) {
|
||||||
|
|
||||||
return segment;
|
return segment;
|
||||||
}
|
}
|
||||||
|
/* eslint-disable jsdoc/require-property */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Group: Path edit functions
|
* Group: Path edit functions
|
||||||
* Functions relating to editing path elements
|
* Functions relating to editing path elements
|
||||||
|
@ -6811,6 +6813,7 @@ function pathDSegment(letter, points, morePoints, lastPoint) {
|
||||||
|
|
||||||
|
|
||||||
var pathActions = function () {
|
var pathActions = function () {
|
||||||
|
/* eslint-enable jsdoc/require-property */
|
||||||
var subpath = false;
|
var subpath = false;
|
||||||
var newPoint, firstCtrl;
|
var newPoint, firstCtrl;
|
||||||
var currentPath = null;
|
var currentPath = null;
|
||||||
|
@ -14694,8 +14697,8 @@ function SvgCanvas(container, config) {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @typedef {PlainObject} module:svgcanvas.ExtensionInitArgs
|
* @typedef {PlainObject} module:svgcanvas.ExtensionInitArgs
|
||||||
* @param {external:jQuery} initArgs.$
|
* @property {external:jQuery} $
|
||||||
* @param {module:SVGEditor~ImportLocale} initArgs.importLocale
|
* @property {module:SVGEditor~ImportLocale} importLocale
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -16874,6 +16877,8 @@ function SvgCanvas(container, config) {
|
||||||
call('zoomDone');
|
call('zoomDone');
|
||||||
});
|
});
|
||||||
})();
|
})();
|
||||||
|
/* eslint-disable jsdoc/require-property */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Group: Text edit functions
|
* Group: Text edit functions
|
||||||
* Functions relating to editing text elements
|
* Functions relating to editing text elements
|
||||||
|
@ -16883,6 +16888,7 @@ function SvgCanvas(container, config) {
|
||||||
|
|
||||||
|
|
||||||
var textActions = canvas.textActions = function () {
|
var textActions = canvas.textActions = function () {
|
||||||
|
/* eslint-enable jsdoc/require-property */
|
||||||
var curtext;
|
var curtext;
|
||||||
var textinput;
|
var textinput;
|
||||||
var cursor;
|
var cursor;
|
||||||
|
@ -22907,6 +22913,8 @@ function jQueryPluginSVGIcons($) {
|
||||||
* @example $.jGraduate.Paint({hex: '#rrggbb', linearGradient: o}); // throws an exception?
|
* @example $.jGraduate.Paint({hex: '#rrggbb', linearGradient: o}); // throws an exception?
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/* eslint-disable jsdoc/require-property */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The jQuery namespace.
|
* The jQuery namespace.
|
||||||
* @external jQuery
|
* @external jQuery
|
||||||
|
@ -22918,6 +22926,8 @@ function jQueryPluginSVGIcons($) {
|
||||||
* @memberof external:jQuery
|
* @memberof external:jQuery
|
||||||
* @see {@link http://learn.jquery.com/plugins/|jQuery Plugins}
|
* @see {@link http://learn.jquery.com/plugins/|jQuery Plugins}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/* eslint-enable jsdoc/require-property */
|
||||||
var ns = {
|
var ns = {
|
||||||
svg: 'http://www.w3.org/2000/svg',
|
svg: 'http://www.w3.org/2000/svg',
|
||||||
xlink: 'http://www.w3.org/1999/xlink'
|
xlink: 'http://www.w3.org/1999/xlink'
|
||||||
|
@ -22955,11 +22965,11 @@ function jQueryPluginJGraduate($) {
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* @typedef {PlainObject} module:jGraduate.jGraduatePaintOptions
|
* @typedef {PlainObject} module:jGraduate.jGraduatePaintOptions
|
||||||
* @param {Float} [alpha]
|
* @property {Float} [alpha]
|
||||||
* @param {module:jGraduate~Paint} [copy] Copy paint object
|
* @property {module:jGraduate~Paint} [copy] Copy paint object
|
||||||
* @param {SVGLinearGradientElement} [linearGradient]
|
* @property {SVGLinearGradientElement} [linearGradient]
|
||||||
* @param {SVGRadialGradientElement} [radialGradient]
|
* @property {SVGRadialGradientElement} [radialGradient]
|
||||||
* @param {string} [solidColor]
|
* @property {string} [solidColor]
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -23047,6 +23057,8 @@ function jQueryPluginJGraduate($) {
|
||||||
this.radialGradient = null;
|
this.radialGradient = null;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
/* eslint-disable jsdoc/require-property */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @namespace {PlainObject} jGraduate
|
* @namespace {PlainObject} jGraduate
|
||||||
* @memberof external:jQuery
|
* @memberof external:jQuery
|
||||||
|
@ -23056,6 +23068,8 @@ function jQueryPluginJGraduate($) {
|
||||||
$.jGraduate =
|
$.jGraduate =
|
||||||
/** @lends external:jQuery.jGraduate */
|
/** @lends external:jQuery.jGraduate */
|
||||||
{
|
{
|
||||||
|
/* eslint-enable jsdoc/require-property */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @class external:jQuery.jGraduate.Paint
|
* @class external:jQuery.jGraduate.Paint
|
||||||
* @see module:jGraduate~Paint
|
* @see module:jGraduate~Paint
|
||||||
|
@ -25721,6 +25735,8 @@ var jPicker = function jPicker($) {
|
||||||
* @property {string} [ahex]
|
* @property {string} [ahex]
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/* eslint-disable jsdoc/require-property */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @namespace {PlainObject} jPicker
|
* @namespace {PlainObject} jPicker
|
||||||
* @memberof external:jQuery
|
* @memberof external:jQuery
|
||||||
|
@ -25730,6 +25746,8 @@ var jPicker = function jPicker($) {
|
||||||
$.jPicker =
|
$.jPicker =
|
||||||
/** @lends external:jQuery.jPicker */
|
/** @lends external:jQuery.jPicker */
|
||||||
{
|
{
|
||||||
|
/* eslint-enable jsdoc/require-property */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Array holding references to each active instance of the jPicker control
|
* Array holding references to each active instance of the jPicker control
|
||||||
* @type {external:jQuery.fn.$.fn.jPicker[]}
|
* @type {external:jQuery.fn.$.fn.jPicker[]}
|
||||||
|
@ -35238,12 +35256,16 @@ editor.init = function () {
|
||||||
|
|
||||||
$$b('input,select').attr('autocomplete', 'off');
|
$$b('input,select').attr('autocomplete', 'off');
|
||||||
var dialogSelectors = ['#tool_source_cancel', '#tool_docprops_cancel', '#tool_prefs_cancel', '.overlay'];
|
var dialogSelectors = ['#tool_source_cancel', '#tool_docprops_cancel', '#tool_prefs_cancel', '.overlay'];
|
||||||
|
/* eslint-disable jsdoc/require-property */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Associate all button actions as well as non-button keyboard shortcuts
|
* Associate all button actions as well as non-button keyboard shortcuts
|
||||||
* @namespace {PlainObject} module:SVGEditor~Actions
|
* @namespace {PlainObject} module:SVGEditor~Actions
|
||||||
*/
|
*/
|
||||||
|
|
||||||
var Actions = function () {
|
var Actions = function () {
|
||||||
|
/* eslint-enable jsdoc/require-property */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @typedef {PlainObject} module:SVGEditor.ToolButton
|
* @typedef {PlainObject} module:SVGEditor.ToolButton
|
||||||
* @property {string} sel The CSS selector for the tool
|
* @property {string} sel The CSS selector for the tool
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -6808,6 +6808,8 @@
|
||||||
|
|
||||||
return segment;
|
return segment;
|
||||||
}
|
}
|
||||||
|
/* eslint-disable jsdoc/require-property */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Group: Path edit functions
|
* Group: Path edit functions
|
||||||
* Functions relating to editing path elements
|
* Functions relating to editing path elements
|
||||||
|
@ -6817,6 +6819,7 @@
|
||||||
|
|
||||||
|
|
||||||
var pathActions = function () {
|
var pathActions = function () {
|
||||||
|
/* eslint-enable jsdoc/require-property */
|
||||||
var subpath = false;
|
var subpath = false;
|
||||||
var newPoint, firstCtrl;
|
var newPoint, firstCtrl;
|
||||||
var currentPath = null;
|
var currentPath = null;
|
||||||
|
@ -14700,8 +14703,8 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @typedef {PlainObject} module:svgcanvas.ExtensionInitArgs
|
* @typedef {PlainObject} module:svgcanvas.ExtensionInitArgs
|
||||||
* @param {external:jQuery} initArgs.$
|
* @property {external:jQuery} $
|
||||||
* @param {module:SVGEditor~ImportLocale} initArgs.importLocale
|
* @property {module:SVGEditor~ImportLocale} importLocale
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -16880,6 +16883,8 @@
|
||||||
call('zoomDone');
|
call('zoomDone');
|
||||||
});
|
});
|
||||||
})();
|
})();
|
||||||
|
/* eslint-disable jsdoc/require-property */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Group: Text edit functions
|
* Group: Text edit functions
|
||||||
* Functions relating to editing text elements
|
* Functions relating to editing text elements
|
||||||
|
@ -16889,6 +16894,7 @@
|
||||||
|
|
||||||
|
|
||||||
var textActions = canvas.textActions = function () {
|
var textActions = canvas.textActions = function () {
|
||||||
|
/* eslint-enable jsdoc/require-property */
|
||||||
var curtext;
|
var curtext;
|
||||||
var textinput;
|
var textinput;
|
||||||
var cursor;
|
var cursor;
|
||||||
|
@ -22913,6 +22919,8 @@
|
||||||
* @example $.jGraduate.Paint({hex: '#rrggbb', linearGradient: o}); // throws an exception?
|
* @example $.jGraduate.Paint({hex: '#rrggbb', linearGradient: o}); // throws an exception?
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/* eslint-disable jsdoc/require-property */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The jQuery namespace.
|
* The jQuery namespace.
|
||||||
* @external jQuery
|
* @external jQuery
|
||||||
|
@ -22924,6 +22932,8 @@
|
||||||
* @memberof external:jQuery
|
* @memberof external:jQuery
|
||||||
* @see {@link http://learn.jquery.com/plugins/|jQuery Plugins}
|
* @see {@link http://learn.jquery.com/plugins/|jQuery Plugins}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/* eslint-enable jsdoc/require-property */
|
||||||
var ns = {
|
var ns = {
|
||||||
svg: 'http://www.w3.org/2000/svg',
|
svg: 'http://www.w3.org/2000/svg',
|
||||||
xlink: 'http://www.w3.org/1999/xlink'
|
xlink: 'http://www.w3.org/1999/xlink'
|
||||||
|
@ -22961,11 +22971,11 @@
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* @typedef {PlainObject} module:jGraduate.jGraduatePaintOptions
|
* @typedef {PlainObject} module:jGraduate.jGraduatePaintOptions
|
||||||
* @param {Float} [alpha]
|
* @property {Float} [alpha]
|
||||||
* @param {module:jGraduate~Paint} [copy] Copy paint object
|
* @property {module:jGraduate~Paint} [copy] Copy paint object
|
||||||
* @param {SVGLinearGradientElement} [linearGradient]
|
* @property {SVGLinearGradientElement} [linearGradient]
|
||||||
* @param {SVGRadialGradientElement} [radialGradient]
|
* @property {SVGRadialGradientElement} [radialGradient]
|
||||||
* @param {string} [solidColor]
|
* @property {string} [solidColor]
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -23053,6 +23063,8 @@
|
||||||
this.radialGradient = null;
|
this.radialGradient = null;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
/* eslint-disable jsdoc/require-property */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @namespace {PlainObject} jGraduate
|
* @namespace {PlainObject} jGraduate
|
||||||
* @memberof external:jQuery
|
* @memberof external:jQuery
|
||||||
|
@ -23062,6 +23074,8 @@
|
||||||
$.jGraduate =
|
$.jGraduate =
|
||||||
/** @lends external:jQuery.jGraduate */
|
/** @lends external:jQuery.jGraduate */
|
||||||
{
|
{
|
||||||
|
/* eslint-enable jsdoc/require-property */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @class external:jQuery.jGraduate.Paint
|
* @class external:jQuery.jGraduate.Paint
|
||||||
* @see module:jGraduate~Paint
|
* @see module:jGraduate~Paint
|
||||||
|
@ -25727,6 +25741,8 @@
|
||||||
* @property {string} [ahex]
|
* @property {string} [ahex]
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/* eslint-disable jsdoc/require-property */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @namespace {PlainObject} jPicker
|
* @namespace {PlainObject} jPicker
|
||||||
* @memberof external:jQuery
|
* @memberof external:jQuery
|
||||||
|
@ -25736,6 +25752,8 @@
|
||||||
$.jPicker =
|
$.jPicker =
|
||||||
/** @lends external:jQuery.jPicker */
|
/** @lends external:jQuery.jPicker */
|
||||||
{
|
{
|
||||||
|
/* eslint-enable jsdoc/require-property */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Array holding references to each active instance of the jPicker control
|
* Array holding references to each active instance of the jPicker control
|
||||||
* @type {external:jQuery.fn.$.fn.jPicker[]}
|
* @type {external:jQuery.fn.$.fn.jPicker[]}
|
||||||
|
@ -35244,12 +35262,16 @@
|
||||||
|
|
||||||
$$b('input,select').attr('autocomplete', 'off');
|
$$b('input,select').attr('autocomplete', 'off');
|
||||||
var dialogSelectors = ['#tool_source_cancel', '#tool_docprops_cancel', '#tool_prefs_cancel', '.overlay'];
|
var dialogSelectors = ['#tool_source_cancel', '#tool_docprops_cancel', '#tool_prefs_cancel', '.overlay'];
|
||||||
|
/* eslint-disable jsdoc/require-property */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Associate all button actions as well as non-button keyboard shortcuts
|
* Associate all button actions as well as non-button keyboard shortcuts
|
||||||
* @namespace {PlainObject} module:SVGEditor~Actions
|
* @namespace {PlainObject} module:SVGEditor~Actions
|
||||||
*/
|
*/
|
||||||
|
|
||||||
var Actions = function () {
|
var Actions = function () {
|
||||||
|
/* eslint-enable jsdoc/require-property */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @typedef {PlainObject} module:SVGEditor.ToolButton
|
* @typedef {PlainObject} module:SVGEditor.ToolButton
|
||||||
* @property {string} sel The CSS selector for the tool
|
* @property {string} sel The CSS selector for the tool
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -6874,6 +6874,8 @@ var SvgCanvas = (function () {
|
||||||
|
|
||||||
return segment;
|
return segment;
|
||||||
}
|
}
|
||||||
|
/* eslint-disable jsdoc/require-property */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Group: Path edit functions
|
* Group: Path edit functions
|
||||||
* Functions relating to editing path elements
|
* Functions relating to editing path elements
|
||||||
|
@ -6883,6 +6885,7 @@ var SvgCanvas = (function () {
|
||||||
|
|
||||||
|
|
||||||
var pathActions = function () {
|
var pathActions = function () {
|
||||||
|
/* eslint-enable jsdoc/require-property */
|
||||||
var subpath = false;
|
var subpath = false;
|
||||||
var newPoint, firstCtrl;
|
var newPoint, firstCtrl;
|
||||||
var currentPath = null;
|
var currentPath = null;
|
||||||
|
@ -14472,8 +14475,8 @@ var SvgCanvas = (function () {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @typedef {PlainObject} module:svgcanvas.ExtensionInitArgs
|
* @typedef {PlainObject} module:svgcanvas.ExtensionInitArgs
|
||||||
* @param {external:jQuery} initArgs.$
|
* @property {external:jQuery} $
|
||||||
* @param {module:SVGEditor~ImportLocale} initArgs.importLocale
|
* @property {module:SVGEditor~ImportLocale} importLocale
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -16652,6 +16655,8 @@ var SvgCanvas = (function () {
|
||||||
call('zoomDone');
|
call('zoomDone');
|
||||||
});
|
});
|
||||||
})();
|
})();
|
||||||
|
/* eslint-disable jsdoc/require-property */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Group: Text edit functions
|
* Group: Text edit functions
|
||||||
* Functions relating to editing text elements
|
* Functions relating to editing text elements
|
||||||
|
@ -16661,6 +16666,7 @@ var SvgCanvas = (function () {
|
||||||
|
|
||||||
|
|
||||||
var textActions = canvas.textActions = function () {
|
var textActions = canvas.textActions = function () {
|
||||||
|
/* eslint-enable jsdoc/require-property */
|
||||||
var curtext;
|
var curtext;
|
||||||
var textinput;
|
var textinput;
|
||||||
var cursor;
|
var cursor;
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -27,17 +27,17 @@ const isNullish = (val) => {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @typedef {PlainObject} module:canvg.CanvgOptions
|
* @typedef {PlainObject} module:canvg.CanvgOptions
|
||||||
* @property {boolean} opts.ignoreMouse true => ignore mouse events
|
* @property {boolean} ignoreMouse true => ignore mouse events
|
||||||
* @property {boolean} opts.ignoreAnimation true => ignore animations
|
* @property {boolean} ignoreAnimation true => ignore animations
|
||||||
* @property {boolean} opts.ignoreDimensions true => does not try to resize canvas
|
* @property {boolean} ignoreDimensions true => does not try to resize canvas
|
||||||
* @property {boolean} opts.ignoreClear true => does not clear canvas
|
* @property {boolean} ignoreClear true => does not clear canvas
|
||||||
* @property {Integer} opts.offsetX int => draws at a x offset
|
* @property {Integer} offsetX int => draws at a x offset
|
||||||
* @property {Integer} opts.offsetY int => draws at a y offset
|
* @property {Integer} offsetY int => draws at a y offset
|
||||||
* @property {Integer} opts.scaleWidth int => scales horizontally to width
|
* @property {Integer} scaleWidth int => scales horizontally to width
|
||||||
* @property {Integer} opts.scaleHeight int => scales vertically to height
|
* @property {Integer} scaleHeight int => scales vertically to height
|
||||||
* @property {module:canvg.ForceRedraw} opts.forceRedraw function => will call the function on every frame, if it returns true, will redraw
|
* @property {module:canvg.ForceRedraw} forceRedraw function => will call the function on every frame, if it returns true, will redraw
|
||||||
* @property {boolean} opts.log Adds log function
|
* @property {boolean} log Adds log function
|
||||||
* @property {boolean} opts.useCORS Whether to set CORS `crossOrigin` for the image to `Anonymous`
|
* @property {boolean} useCORS Whether to set CORS `crossOrigin` for the image to `Anonymous`
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -17,6 +17,7 @@
|
||||||
* @example $.jGraduate.Paint({hex: '#rrggbb', linearGradient: o}); // throws an exception?
|
* @example $.jGraduate.Paint({hex: '#rrggbb', linearGradient: o}); // throws an exception?
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/* eslint-disable jsdoc/require-property */
|
||||||
/**
|
/**
|
||||||
* The jQuery namespace.
|
* The jQuery namespace.
|
||||||
* @external jQuery
|
* @external jQuery
|
||||||
|
@ -27,6 +28,7 @@
|
||||||
* @memberof external:jQuery
|
* @memberof external:jQuery
|
||||||
* @see {@link http://learn.jquery.com/plugins/|jQuery Plugins}
|
* @see {@link http://learn.jquery.com/plugins/|jQuery Plugins}
|
||||||
*/
|
*/
|
||||||
|
/* eslint-enable jsdoc/require-property */
|
||||||
|
|
||||||
const ns = {
|
const ns = {
|
||||||
svg: 'http://www.w3.org/2000/svg',
|
svg: 'http://www.w3.org/2000/svg',
|
||||||
|
@ -59,11 +61,11 @@ export default function jQueryPluginJGraduate ($) {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @typedef {PlainObject} module:jGraduate.jGraduatePaintOptions
|
* @typedef {PlainObject} module:jGraduate.jGraduatePaintOptions
|
||||||
* @param {Float} [alpha]
|
* @property {Float} [alpha]
|
||||||
* @param {module:jGraduate~Paint} [copy] Copy paint object
|
* @property {module:jGraduate~Paint} [copy] Copy paint object
|
||||||
* @param {SVGLinearGradientElement} [linearGradient]
|
* @property {SVGLinearGradientElement} [linearGradient]
|
||||||
* @param {SVGRadialGradientElement} [radialGradient]
|
* @property {SVGRadialGradientElement} [radialGradient]
|
||||||
* @param {string} [solidColor]
|
* @property {string} [solidColor]
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -144,11 +146,14 @@ export default function jQueryPluginJGraduate ($) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* eslint-disable jsdoc/require-property */
|
||||||
/**
|
/**
|
||||||
* @namespace {PlainObject} jGraduate
|
* @namespace {PlainObject} jGraduate
|
||||||
* @memberof external:jQuery
|
* @memberof external:jQuery
|
||||||
*/
|
*/
|
||||||
$.jGraduate = /** @lends external:jQuery.jGraduate */ {
|
$.jGraduate = /** @lends external:jQuery.jGraduate */ {
|
||||||
|
/* eslint-enable jsdoc/require-property */
|
||||||
/**
|
/**
|
||||||
* @class external:jQuery.jGraduate.Paint
|
* @class external:jQuery.jGraduate.Paint
|
||||||
* @see module:jGraduate~Paint
|
* @see module:jGraduate~Paint
|
||||||
|
|
|
@ -690,11 +690,13 @@ const jPicker = function ($) {
|
||||||
* @property {string} [ahex]
|
* @property {string} [ahex]
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/* eslint-disable jsdoc/require-property */
|
||||||
/**
|
/**
|
||||||
* @namespace {PlainObject} jPicker
|
* @namespace {PlainObject} jPicker
|
||||||
* @memberof external:jQuery
|
* @memberof external:jQuery
|
||||||
*/
|
*/
|
||||||
$.jPicker = /** @lends external:jQuery.jPicker */ {
|
$.jPicker = /** @lends external:jQuery.jPicker */ {
|
||||||
|
/* eslint-enable jsdoc/require-property */
|
||||||
/**
|
/**
|
||||||
* Array holding references to each active instance of the jPicker control
|
* Array holding references to each active instance of the jPicker control
|
||||||
* @type {external:jQuery.fn.$.fn.jPicker[]}
|
* @type {external:jQuery.fn.$.fn.jPicker[]}
|
||||||
|
|
|
@ -1697,6 +1697,7 @@ function pathDSegment (letter, points, morePoints, lastPoint) {
|
||||||
return segment;
|
return segment;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* eslint-disable jsdoc/require-property */
|
||||||
/**
|
/**
|
||||||
* Group: Path edit functions
|
* Group: Path edit functions
|
||||||
* Functions relating to editing path elements
|
* Functions relating to editing path elements
|
||||||
|
@ -1704,6 +1705,7 @@ function pathDSegment (letter, points, morePoints, lastPoint) {
|
||||||
* @memberof module:path
|
* @memberof module:path
|
||||||
*/
|
*/
|
||||||
export const pathActions = (function () {
|
export const pathActions = (function () {
|
||||||
|
/* eslint-enable jsdoc/require-property */
|
||||||
let subpath = false;
|
let subpath = false;
|
||||||
let newPoint, firstCtrl;
|
let newPoint, firstCtrl;
|
||||||
|
|
||||||
|
|
|
@ -5552,11 +5552,13 @@ editor.init = function () {
|
||||||
'#tool_source_cancel', '#tool_docprops_cancel',
|
'#tool_source_cancel', '#tool_docprops_cancel',
|
||||||
'#tool_prefs_cancel', '.overlay'
|
'#tool_prefs_cancel', '.overlay'
|
||||||
];
|
];
|
||||||
|
/* eslint-disable jsdoc/require-property */
|
||||||
/**
|
/**
|
||||||
* Associate all button actions as well as non-button keyboard shortcuts
|
* Associate all button actions as well as non-button keyboard shortcuts
|
||||||
* @namespace {PlainObject} module:SVGEditor~Actions
|
* @namespace {PlainObject} module:SVGEditor~Actions
|
||||||
*/
|
*/
|
||||||
const Actions = (function () {
|
const Actions = (function () {
|
||||||
|
/* eslint-enable jsdoc/require-property */
|
||||||
/**
|
/**
|
||||||
* @typedef {PlainObject} module:SVGEditor.ToolButton
|
* @typedef {PlainObject} module:SVGEditor.ToolButton
|
||||||
* @property {string} sel The CSS selector for the tool
|
* @property {string} sel The CSS selector for the tool
|
||||||
|
|
|
@ -1139,8 +1139,8 @@ const runExtensions = this.runExtensions = function (action, vars, returnArray,
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* @typedef {PlainObject} module:svgcanvas.ExtensionInitArgs
|
* @typedef {PlainObject} module:svgcanvas.ExtensionInitArgs
|
||||||
* @param {external:jQuery} initArgs.$
|
* @property {external:jQuery} $
|
||||||
* @param {module:SVGEditor~ImportLocale} initArgs.importLocale
|
* @property {module:SVGEditor~ImportLocale} importLocale
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* Add an extension to the editor.
|
* Add an extension to the editor.
|
||||||
|
@ -3022,6 +3022,7 @@ $(container).bind(
|
||||||
);
|
);
|
||||||
}());
|
}());
|
||||||
|
|
||||||
|
/* eslint-disable jsdoc/require-property */
|
||||||
/**
|
/**
|
||||||
* Group: Text edit functions
|
* Group: Text edit functions
|
||||||
* Functions relating to editing text elements
|
* Functions relating to editing text elements
|
||||||
|
@ -3029,6 +3030,7 @@ $(container).bind(
|
||||||
* @memberof module:svgcanvas.SvgCanvas#
|
* @memberof module:svgcanvas.SvgCanvas#
|
||||||
*/
|
*/
|
||||||
const textActions = canvas.textActions = (function () {
|
const textActions = canvas.textActions = (function () {
|
||||||
|
/* eslint-enable jsdoc/require-property */
|
||||||
let curtext;
|
let curtext;
|
||||||
let textinput;
|
let textinput;
|
||||||
let cursor;
|
let cursor;
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
* @returns {ArbitraryCallbackResult} Return dependent on the function
|
* @returns {ArbitraryCallbackResult} Return dependent on the function
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* eslint-disable jsdoc/check-types */
|
/* eslint-disable jsdoc/require-property */
|
||||||
/**
|
/**
|
||||||
* This should only be used for objects known to be potentially arbitrary in form.
|
* This should only be used for objects known to be potentially arbitrary in form.
|
||||||
* For those whose determination has not yet been made, simply use type `object`
|
* For those whose determination has not yet been made, simply use type `object`
|
||||||
|
@ -32,7 +32,7 @@
|
||||||
/**
|
/**
|
||||||
* @typedef {object} ArbitraryModule
|
* @typedef {object} ArbitraryModule
|
||||||
*/
|
*/
|
||||||
/* eslint-enable jsdoc/check-types */
|
/* eslint-enable jsdoc/require-property */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This should only be used for objects known to be potentially arbitrary in form,
|
* This should only be used for objects known to be potentially arbitrary in form,
|
||||||
|
|
|
@ -6805,6 +6805,8 @@
|
||||||
|
|
||||||
return segment;
|
return segment;
|
||||||
}
|
}
|
||||||
|
/* eslint-disable jsdoc/require-property */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Group: Path edit functions
|
* Group: Path edit functions
|
||||||
* Functions relating to editing path elements
|
* Functions relating to editing path elements
|
||||||
|
@ -6814,6 +6816,7 @@
|
||||||
|
|
||||||
|
|
||||||
var pathActions = function () {
|
var pathActions = function () {
|
||||||
|
/* eslint-enable jsdoc/require-property */
|
||||||
var subpath = false;
|
var subpath = false;
|
||||||
var newPoint, firstCtrl;
|
var newPoint, firstCtrl;
|
||||||
var currentPath = null;
|
var currentPath = null;
|
||||||
|
@ -14697,8 +14700,8 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @typedef {PlainObject} module:svgcanvas.ExtensionInitArgs
|
* @typedef {PlainObject} module:svgcanvas.ExtensionInitArgs
|
||||||
* @param {external:jQuery} initArgs.$
|
* @property {external:jQuery} $
|
||||||
* @param {module:SVGEditor~ImportLocale} initArgs.importLocale
|
* @property {module:SVGEditor~ImportLocale} importLocale
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -16877,6 +16880,8 @@
|
||||||
call('zoomDone');
|
call('zoomDone');
|
||||||
});
|
});
|
||||||
})();
|
})();
|
||||||
|
/* eslint-disable jsdoc/require-property */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Group: Text edit functions
|
* Group: Text edit functions
|
||||||
* Functions relating to editing text elements
|
* Functions relating to editing text elements
|
||||||
|
@ -16886,6 +16891,7 @@
|
||||||
|
|
||||||
|
|
||||||
var textActions = canvas.textActions = function () {
|
var textActions = canvas.textActions = function () {
|
||||||
|
/* eslint-enable jsdoc/require-property */
|
||||||
var curtext;
|
var curtext;
|
||||||
var textinput;
|
var textinput;
|
||||||
var cursor;
|
var cursor;
|
||||||
|
@ -22910,6 +22916,8 @@
|
||||||
* @example $.jGraduate.Paint({hex: '#rrggbb', linearGradient: o}); // throws an exception?
|
* @example $.jGraduate.Paint({hex: '#rrggbb', linearGradient: o}); // throws an exception?
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/* eslint-disable jsdoc/require-property */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The jQuery namespace.
|
* The jQuery namespace.
|
||||||
* @external jQuery
|
* @external jQuery
|
||||||
|
@ -22921,6 +22929,8 @@
|
||||||
* @memberof external:jQuery
|
* @memberof external:jQuery
|
||||||
* @see {@link http://learn.jquery.com/plugins/|jQuery Plugins}
|
* @see {@link http://learn.jquery.com/plugins/|jQuery Plugins}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/* eslint-enable jsdoc/require-property */
|
||||||
var ns = {
|
var ns = {
|
||||||
svg: 'http://www.w3.org/2000/svg',
|
svg: 'http://www.w3.org/2000/svg',
|
||||||
xlink: 'http://www.w3.org/1999/xlink'
|
xlink: 'http://www.w3.org/1999/xlink'
|
||||||
|
@ -22958,11 +22968,11 @@
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* @typedef {PlainObject} module:jGraduate.jGraduatePaintOptions
|
* @typedef {PlainObject} module:jGraduate.jGraduatePaintOptions
|
||||||
* @param {Float} [alpha]
|
* @property {Float} [alpha]
|
||||||
* @param {module:jGraduate~Paint} [copy] Copy paint object
|
* @property {module:jGraduate~Paint} [copy] Copy paint object
|
||||||
* @param {SVGLinearGradientElement} [linearGradient]
|
* @property {SVGLinearGradientElement} [linearGradient]
|
||||||
* @param {SVGRadialGradientElement} [radialGradient]
|
* @property {SVGRadialGradientElement} [radialGradient]
|
||||||
* @param {string} [solidColor]
|
* @property {string} [solidColor]
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -23050,6 +23060,8 @@
|
||||||
this.radialGradient = null;
|
this.radialGradient = null;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
/* eslint-disable jsdoc/require-property */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @namespace {PlainObject} jGraduate
|
* @namespace {PlainObject} jGraduate
|
||||||
* @memberof external:jQuery
|
* @memberof external:jQuery
|
||||||
|
@ -23059,6 +23071,8 @@
|
||||||
$.jGraduate =
|
$.jGraduate =
|
||||||
/** @lends external:jQuery.jGraduate */
|
/** @lends external:jQuery.jGraduate */
|
||||||
{
|
{
|
||||||
|
/* eslint-enable jsdoc/require-property */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @class external:jQuery.jGraduate.Paint
|
* @class external:jQuery.jGraduate.Paint
|
||||||
* @see module:jGraduate~Paint
|
* @see module:jGraduate~Paint
|
||||||
|
@ -25724,6 +25738,8 @@
|
||||||
* @property {string} [ahex]
|
* @property {string} [ahex]
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/* eslint-disable jsdoc/require-property */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @namespace {PlainObject} jPicker
|
* @namespace {PlainObject} jPicker
|
||||||
* @memberof external:jQuery
|
* @memberof external:jQuery
|
||||||
|
@ -25733,6 +25749,8 @@
|
||||||
$.jPicker =
|
$.jPicker =
|
||||||
/** @lends external:jQuery.jPicker */
|
/** @lends external:jQuery.jPicker */
|
||||||
{
|
{
|
||||||
|
/* eslint-enable jsdoc/require-property */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Array holding references to each active instance of the jPicker control
|
* Array holding references to each active instance of the jPicker control
|
||||||
* @type {external:jQuery.fn.$.fn.jPicker[]}
|
* @type {external:jQuery.fn.$.fn.jPicker[]}
|
||||||
|
@ -35241,12 +35259,16 @@
|
||||||
|
|
||||||
$$b('input,select').attr('autocomplete', 'off');
|
$$b('input,select').attr('autocomplete', 'off');
|
||||||
var dialogSelectors = ['#tool_source_cancel', '#tool_docprops_cancel', '#tool_prefs_cancel', '.overlay'];
|
var dialogSelectors = ['#tool_source_cancel', '#tool_docprops_cancel', '#tool_prefs_cancel', '.overlay'];
|
||||||
|
/* eslint-disable jsdoc/require-property */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Associate all button actions as well as non-button keyboard shortcuts
|
* Associate all button actions as well as non-button keyboard shortcuts
|
||||||
* @namespace {PlainObject} module:SVGEditor~Actions
|
* @namespace {PlainObject} module:SVGEditor~Actions
|
||||||
*/
|
*/
|
||||||
|
|
||||||
var Actions = function () {
|
var Actions = function () {
|
||||||
|
/* eslint-enable jsdoc/require-property */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @typedef {PlainObject} module:SVGEditor.ToolButton
|
* @typedef {PlainObject} module:SVGEditor.ToolButton
|
||||||
* @property {string} sel The CSS selector for the tool
|
* @property {string} sel The CSS selector for the tool
|
||||||
|
|
|
@ -4157,9 +4157,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"eslint-config-ash-nazg": {
|
"eslint-config-ash-nazg": {
|
||||||
"version": "16.0.0",
|
"version": "16.1.0",
|
||||||
"resolved": "https://registry.npmjs.org/eslint-config-ash-nazg/-/eslint-config-ash-nazg-16.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/eslint-config-ash-nazg/-/eslint-config-ash-nazg-16.1.0.tgz",
|
||||||
"integrity": "sha512-XI3IMLC2RqlYL6ttiymkDSaD/OA8za0LvPJX+ViuE/VpxKNyq9RnxzXsrnurRNDbxXUeGsJJDXxDqnfldCXiVQ==",
|
"integrity": "sha512-Ib1JEc6s6nDZxhyQTO8D5ZtaWyUVgPlOAJblJMyuzP+18KtpKN4QGSrGo7SaGg4os3fOE2VUOFPX5t8Cwti2Yw==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"eslint-config-standard": {
|
"eslint-config-standard": {
|
||||||
|
@ -4418,9 +4418,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"eslint-plugin-jsdoc": {
|
"eslint-plugin-jsdoc": {
|
||||||
"version": "18.6.2",
|
"version": "19.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-18.6.2.tgz",
|
"resolved": "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-19.0.0.tgz",
|
||||||
"integrity": "sha512-EGS6v0qLdaXyPeH2uCZ3i9U6AIanSpB7YOykefCApRRKKX+PsyfN41/uBXRrILPVU1PsC75LdanlNDi1KTP1eQ==",
|
"integrity": "sha512-Xe+mci5g48XIn/49zx0mfqmXziwHd91SdFYjR+FPqpkf/xbnkZW2IkGlmrCuxU5xMM5QZ0BEe0/eUoCeM9G9Lw==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"comment-parser": "^0.7.2",
|
"comment-parser": "^0.7.2",
|
||||||
|
|
|
@ -14,7 +14,6 @@
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"prepublishOnly": "npm run prep",
|
"prepublishOnly": "npm run prep",
|
||||||
"build-by-config": "rollup -c rollup-config.config.js",
|
|
||||||
"open-allext-no-start": "open-cli http://localhost:8000/editor/svg-editor-es.html?extensions=ext-arrows.js,ext-closepath.js,ext-foreignobject.js,ext-helloworld.js,ext-mathjax.js,ext-php_savefile.js,ext-server_moinsave.js,ext-server_opensave.js,ext-webappfind.js,ext-xdomain-messaging.js",
|
"open-allext-no-start": "open-cli http://localhost:8000/editor/svg-editor-es.html?extensions=ext-arrows.js,ext-closepath.js,ext-foreignobject.js,ext-helloworld.js,ext-mathjax.js,ext-php_savefile.js,ext-server_moinsave.js,ext-server_opensave.js,ext-webappfind.js,ext-xdomain-messaging.js",
|
||||||
"open-allext": "run-p start open-allext-no-start",
|
"open-allext": "run-p start open-allext-no-start",
|
||||||
"open-no-start": "open-cli http://localhost:8000/editor/svg-editor-es.html",
|
"open-no-start": "open-cli http://localhost:8000/editor/svg-editor-es.html",
|
||||||
|
@ -50,6 +49,7 @@
|
||||||
"open-tests": "run-p start cypress:open",
|
"open-tests": "run-p start cypress:open",
|
||||||
"report": "npx nyc report",
|
"report": "npx nyc report",
|
||||||
"report-summary": "npx nyc report --reporter=text-summary",
|
"report-summary": "npx nyc report --reporter=text-summary",
|
||||||
|
"build-by-config": "rollup -c rollup-config.config.js",
|
||||||
"test-cov-prereport": "npm-run-all instrument --parallel --race start cypress:run",
|
"test-cov-prereport": "npm-run-all instrument --parallel --race start cypress:run",
|
||||||
"test-cov": "run-s -c test-cov-prereport report-summary",
|
"test-cov": "run-s -c test-cov-prereport report-summary",
|
||||||
"test-cov-open": "npm-run-all instrument --parallel --race start cypress:run",
|
"test-cov-open": "npm-run-all instrument --parallel --race start cypress:run",
|
||||||
|
@ -136,7 +136,7 @@
|
||||||
"cypress": "^3.8.1",
|
"cypress": "^3.8.1",
|
||||||
"cypress-axe": "^0.5.3",
|
"cypress-axe": "^0.5.3",
|
||||||
"eslint": "^6.8.0",
|
"eslint": "^6.8.0",
|
||||||
"eslint-config-ash-nazg": "^16.0.0",
|
"eslint-config-ash-nazg": "^16.1.0",
|
||||||
"eslint-config-standard": "^14.1.0",
|
"eslint-config-standard": "^14.1.0",
|
||||||
"eslint-plugin-array-func": "^3.1.3",
|
"eslint-plugin-array-func": "^3.1.3",
|
||||||
"eslint-plugin-compat": "^3.3.0",
|
"eslint-plugin-compat": "^3.3.0",
|
||||||
|
@ -144,7 +144,7 @@
|
||||||
"eslint-plugin-eslint-comments": "^3.1.2",
|
"eslint-plugin-eslint-comments": "^3.1.2",
|
||||||
"eslint-plugin-html": "^6.0.0",
|
"eslint-plugin-html": "^6.0.0",
|
||||||
"eslint-plugin-import": "^2.19.1",
|
"eslint-plugin-import": "^2.19.1",
|
||||||
"eslint-plugin-jsdoc": "^18.6.2",
|
"eslint-plugin-jsdoc": "^19.0.0",
|
||||||
"eslint-plugin-markdown": "^1.0.1",
|
"eslint-plugin-markdown": "^1.0.1",
|
||||||
"eslint-plugin-no-unsanitized": "^3.0.2",
|
"eslint-plugin-no-unsanitized": "^3.0.2",
|
||||||
"eslint-plugin-no-use-extend-native": "^0.4.1",
|
"eslint-plugin-no-use-extend-native": "^0.4.1",
|
||||||
|
|
|
@ -6805,6 +6805,8 @@
|
||||||
|
|
||||||
return segment;
|
return segment;
|
||||||
}
|
}
|
||||||
|
/* eslint-disable jsdoc/require-property */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Group: Path edit functions
|
* Group: Path edit functions
|
||||||
* Functions relating to editing path elements
|
* Functions relating to editing path elements
|
||||||
|
@ -6814,6 +6816,7 @@
|
||||||
|
|
||||||
|
|
||||||
var pathActions = function () {
|
var pathActions = function () {
|
||||||
|
/* eslint-enable jsdoc/require-property */
|
||||||
var subpath = false;
|
var subpath = false;
|
||||||
var newPoint, firstCtrl;
|
var newPoint, firstCtrl;
|
||||||
var currentPath = null;
|
var currentPath = null;
|
||||||
|
@ -14697,8 +14700,8 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @typedef {PlainObject} module:svgcanvas.ExtensionInitArgs
|
* @typedef {PlainObject} module:svgcanvas.ExtensionInitArgs
|
||||||
* @param {external:jQuery} initArgs.$
|
* @property {external:jQuery} $
|
||||||
* @param {module:SVGEditor~ImportLocale} initArgs.importLocale
|
* @property {module:SVGEditor~ImportLocale} importLocale
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -16877,6 +16880,8 @@
|
||||||
call('zoomDone');
|
call('zoomDone');
|
||||||
});
|
});
|
||||||
})();
|
})();
|
||||||
|
/* eslint-disable jsdoc/require-property */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Group: Text edit functions
|
* Group: Text edit functions
|
||||||
* Functions relating to editing text elements
|
* Functions relating to editing text elements
|
||||||
|
@ -16886,6 +16891,7 @@
|
||||||
|
|
||||||
|
|
||||||
var textActions = canvas.textActions = function () {
|
var textActions = canvas.textActions = function () {
|
||||||
|
/* eslint-enable jsdoc/require-property */
|
||||||
var curtext;
|
var curtext;
|
||||||
var textinput;
|
var textinput;
|
||||||
var cursor;
|
var cursor;
|
||||||
|
@ -22910,6 +22916,8 @@
|
||||||
* @example $.jGraduate.Paint({hex: '#rrggbb', linearGradient: o}); // throws an exception?
|
* @example $.jGraduate.Paint({hex: '#rrggbb', linearGradient: o}); // throws an exception?
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/* eslint-disable jsdoc/require-property */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The jQuery namespace.
|
* The jQuery namespace.
|
||||||
* @external jQuery
|
* @external jQuery
|
||||||
|
@ -22921,6 +22929,8 @@
|
||||||
* @memberof external:jQuery
|
* @memberof external:jQuery
|
||||||
* @see {@link http://learn.jquery.com/plugins/|jQuery Plugins}
|
* @see {@link http://learn.jquery.com/plugins/|jQuery Plugins}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/* eslint-enable jsdoc/require-property */
|
||||||
var ns = {
|
var ns = {
|
||||||
svg: 'http://www.w3.org/2000/svg',
|
svg: 'http://www.w3.org/2000/svg',
|
||||||
xlink: 'http://www.w3.org/1999/xlink'
|
xlink: 'http://www.w3.org/1999/xlink'
|
||||||
|
@ -22958,11 +22968,11 @@
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* @typedef {PlainObject} module:jGraduate.jGraduatePaintOptions
|
* @typedef {PlainObject} module:jGraduate.jGraduatePaintOptions
|
||||||
* @param {Float} [alpha]
|
* @property {Float} [alpha]
|
||||||
* @param {module:jGraduate~Paint} [copy] Copy paint object
|
* @property {module:jGraduate~Paint} [copy] Copy paint object
|
||||||
* @param {SVGLinearGradientElement} [linearGradient]
|
* @property {SVGLinearGradientElement} [linearGradient]
|
||||||
* @param {SVGRadialGradientElement} [radialGradient]
|
* @property {SVGRadialGradientElement} [radialGradient]
|
||||||
* @param {string} [solidColor]
|
* @property {string} [solidColor]
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -23050,6 +23060,8 @@
|
||||||
this.radialGradient = null;
|
this.radialGradient = null;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
/* eslint-disable jsdoc/require-property */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @namespace {PlainObject} jGraduate
|
* @namespace {PlainObject} jGraduate
|
||||||
* @memberof external:jQuery
|
* @memberof external:jQuery
|
||||||
|
@ -23059,6 +23071,8 @@
|
||||||
$.jGraduate =
|
$.jGraduate =
|
||||||
/** @lends external:jQuery.jGraduate */
|
/** @lends external:jQuery.jGraduate */
|
||||||
{
|
{
|
||||||
|
/* eslint-enable jsdoc/require-property */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @class external:jQuery.jGraduate.Paint
|
* @class external:jQuery.jGraduate.Paint
|
||||||
* @see module:jGraduate~Paint
|
* @see module:jGraduate~Paint
|
||||||
|
@ -25724,6 +25738,8 @@
|
||||||
* @property {string} [ahex]
|
* @property {string} [ahex]
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/* eslint-disable jsdoc/require-property */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @namespace {PlainObject} jPicker
|
* @namespace {PlainObject} jPicker
|
||||||
* @memberof external:jQuery
|
* @memberof external:jQuery
|
||||||
|
@ -25733,6 +25749,8 @@
|
||||||
$.jPicker =
|
$.jPicker =
|
||||||
/** @lends external:jQuery.jPicker */
|
/** @lends external:jQuery.jPicker */
|
||||||
{
|
{
|
||||||
|
/* eslint-enable jsdoc/require-property */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Array holding references to each active instance of the jPicker control
|
* Array holding references to each active instance of the jPicker control
|
||||||
* @type {external:jQuery.fn.$.fn.jPicker[]}
|
* @type {external:jQuery.fn.$.fn.jPicker[]}
|
||||||
|
@ -35241,12 +35259,16 @@
|
||||||
|
|
||||||
$$b('input,select').attr('autocomplete', 'off');
|
$$b('input,select').attr('autocomplete', 'off');
|
||||||
var dialogSelectors = ['#tool_source_cancel', '#tool_docprops_cancel', '#tool_prefs_cancel', '.overlay'];
|
var dialogSelectors = ['#tool_source_cancel', '#tool_docprops_cancel', '#tool_prefs_cancel', '.overlay'];
|
||||||
|
/* eslint-disable jsdoc/require-property */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Associate all button actions as well as non-button keyboard shortcuts
|
* Associate all button actions as well as non-button keyboard shortcuts
|
||||||
* @namespace {PlainObject} module:SVGEditor~Actions
|
* @namespace {PlainObject} module:SVGEditor~Actions
|
||||||
*/
|
*/
|
||||||
|
|
||||||
var Actions = function () {
|
var Actions = function () {
|
||||||
|
/* eslint-enable jsdoc/require-property */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @typedef {PlainObject} module:SVGEditor.ToolButton
|
* @typedef {PlainObject} module:SVGEditor.ToolButton
|
||||||
* @property {string} sel The CSS selector for the tool
|
* @property {string} sel The CSS selector for the tool
|
||||||
|
|
Loading…
Reference in New Issue