- Linting (JSDoc): Reenable jsdoc/valid-jsdoc as fixed; notes re: valid-jsdoc replacement; use same namepath

- npm: Update devDep
This commit is contained in:
Brett Zamir
2019-04-17 19:12:55 +08:00
parent 4289d131a2
commit 1d56d75837
33 changed files with 2688 additions and 2596 deletions

4
dist/canvg.js vendored
View File

@@ -4358,7 +4358,7 @@ var canvg = (function (exports) {
* @param {Float} width
* @param {Float} height
* @param {Integer} rgba
* @returns {undefined}
* @returns {void}
*/
@@ -4373,7 +4373,7 @@ var canvg = (function (exports) {
* @param {Float} height
* @param {Integer} rgba
* @param {Float} val
* @returns {undefined}
* @returns {void}
*/

View File

@@ -25,7 +25,7 @@
*
* @param {Node} o
* @param {module:DOMPolyfill~ParentNode|module:DOMPolyfill~ChildNode} ps
* @returns {undefined}
* @returns {void}
*/
function mixin(o, ps) {
if (!o) return;

View File

@@ -273,7 +273,7 @@ var svgEditorExtension_arrows = (function () {
/**
* @param {Window} win
* @param {!(string|Integer)} n
* @returns {undefined}
* @returns {void}
*/
svgCanvas.bind('setnonce', setArrowNonce);

View File

@@ -135,7 +135,7 @@ var svgEditorExtension_connector = (function () {
var addThis;
/**
*
* @returns {undefined}
* @returns {void}
*/
function add() {
@@ -347,7 +347,7 @@ var svgEditorExtension_connector = (function () {
})();
/**
* Do on reset.
* @returns {undefined}
* @returns {void}
*/

View File

@@ -107,8 +107,8 @@ var svgEditorExtension_eyedropper = (function () {
};
/**
*
* @param {module:svgcanvas.SvgCanvas#event:ext-selectedChanged|module:svgcanvas.SvgCanvas#event:ext-elementChanged} opts
* @returns {undefined}
* @param {module:svgcanvas.SvgCanvas#event:ext_selectedChanged|module:svgcanvas.SvgCanvas#event:ext_elementChanged} opts
* @returns {void}
*/
buttons = [{

View File

@@ -132,7 +132,7 @@ var svgEditorExtension_foreignobject = (function () {
};
/**
* @param {boolean} on
* @returns {undefined}
* @returns {void}
*/

View File

@@ -174,7 +174,7 @@ var svgEditorExtension_grid = (function () {
/**
*
* @param {Float} zoom
* @returns {undefined}
* @returns {void}
*/
buttons = [{

View File

@@ -237,7 +237,7 @@ var svgEditorExtension_imagelib = (function () {
});
/**
*
* @returns {undefined}
* @returns {void}
*/
pending = {};
@@ -542,7 +542,7 @@ var svgEditorExtension_imagelib = (function () {
}(), true);
/**
* @param {boolean} show
* @returns {undefined}
* @returns {void}
*/
buttons = [{

View File

@@ -41,7 +41,7 @@ var svgEditorExtension_mathjax = (function () {
* Add any of the whitelisted attributes to the script tag.
* @param {HTMLScriptElement} script
* @param {PlainObject.<string, string>} atts
* @returns {undefined}
* @returns {void}
*/
@@ -67,7 +67,7 @@ var svgEditorExtension_mathjax = (function () {
var script = document.createElement('script');
/**
*
* @returns {undefined}
* @returns {void}
*/
function scriptOnError() {
@@ -76,7 +76,7 @@ var svgEditorExtension_mathjax = (function () {
}
/**
*
* @returns {undefined}
* @returns {void}
*/
@@ -214,7 +214,7 @@ var svgEditorExtension_mathjax = (function () {
});
/**
*
* @returns {undefined}
* @returns {void}
*/
buttons = [{

View File

@@ -416,7 +416,7 @@ var svgEditorExtension_placemark = (function () {
/**
*
* @param {boolean} on
* @returns {undefined}
* @returns {void}
*/
buttons = [{

View File

@@ -4358,7 +4358,7 @@ var svgEditorExtension_server_moinsave = (function () {
* @param {Float} width
* @param {Float} height
* @param {Integer} rgba
* @returns {undefined}
* @returns {void}
*/
@@ -4373,7 +4373,7 @@ var svgEditorExtension_server_moinsave = (function () {
* @param {Float} height
* @param {Integer} rgba
* @param {Float} val
* @returns {undefined}
* @returns {void}
*/

View File

@@ -4358,7 +4358,7 @@ var svgEditorExtension_server_opensave = (function () {
* @param {Float} width
* @param {Float} height
* @param {Integer} rgba
* @returns {undefined}
* @returns {void}
*/
@@ -4373,7 +4373,7 @@ var svgEditorExtension_server_opensave = (function () {
* @param {Float} height
* @param {Integer} rgba
* @param {Float} val
* @returns {undefined}
* @returns {void}
*/
@@ -4879,7 +4879,7 @@ var svgEditorExtension_server_opensave = (function () {
/**
* Submit the form, empty its contents for reuse and show
* uploading message.
* @returns {undefined}
* @returns {void}
*/
function submit() {
@@ -5188,7 +5188,7 @@ var svgEditorExtension_server_opensave = (function () {
/**
*
* @param {external:jQuery} form
* @returns {undefined}
* @returns {void}
*/
// Create the input elements

View File

@@ -205,7 +205,7 @@ var svgEditorExtension_shapes = (function () {
curLib = library.basic;
/**
*
* @returns {undefined}
* @returns {void}
*/
buttons = [{

View File

@@ -117,7 +117,7 @@ var svgEditorExtension_storage = (function () {
/**
* Replace `storagePrompt` parameter within URL.
* @param {string} val
* @returns {undefined}
* @returns {void}
*/
function replaceStoragePrompt(val) {
@@ -136,7 +136,7 @@ var svgEditorExtension_storage = (function () {
* Sets SVG content as a string with "svgedit-" and the current
* canvas name as namespace.
* @param {string} val
* @returns {undefined}
* @returns {void}
*/
@@ -154,7 +154,7 @@ var svgEditorExtension_storage = (function () {
/**
* Set the cookie to expire.
* @param {string} cookie
* @returns {undefined}
* @returns {void}
*/
@@ -163,7 +163,7 @@ var svgEditorExtension_storage = (function () {
}
/**
* Expire the storage cookie.
* @returns {undefined}
* @returns {void}
*/
@@ -172,7 +172,7 @@ var svgEditorExtension_storage = (function () {
}
/**
* Empties storage for each of the current preferences.
* @returns {undefined}
* @returns {void}
*/
@@ -196,7 +196,7 @@ var svgEditorExtension_storage = (function () {
* content into storage)
* 2. Use localStorage to set SVG contents (potentially too large to allow in cookies)
* 3. Use localStorage (where available) or cookies to set preferences.
* @returns {undefined}
* @returns {void}
*/

View File

@@ -68,7 +68,7 @@ var svgEditorExtension_webappfind = (function () {
* @param {module:svgcanvas.SvgCanvas#event:message} data
* @listens module:svgcanvas.SvgCanvas#event:message
* @throws {Error} Unexpected event type
* @returns {undefined}
* @returns {void}
*/
function (win, _ref2) {
var data = _ref2.data,

View File

@@ -3009,7 +3009,7 @@
/**
* Shows results after query submission.
* @param {string} url
* @returns {undefined}
* @returns {void}
*/
function processResults(_x) {

1103
dist/index-es.js vendored

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

1103
dist/index-umd.js vendored

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

645
dist/svgcanvas-iife.js vendored

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long