- Docs: Missing returns, param names

master
Brett Zamir 2019-12-31 13:42:39 +08:00
parent 477d5fdb6c
commit 22dda2c50b
13 changed files with 28 additions and 15 deletions

6
dist/index-es.js vendored
View File

@ -3801,7 +3801,7 @@ function () {
* Applies
*
* @function module:history.HistoryCommand#apply
* @param {module:history.HistoryEventHandler}
* @param {module:history.HistoryEventHandler} handler
* @fires module:history~Command#event:history
* @returns {void|true}
*/
@ -3810,7 +3810,7 @@ function () {
*
* Unapplies
* @function module:history.HistoryCommand#unapply
* @param {module:history.HistoryEventHandler}
* @param {module:history.HistoryEventHandler} handler
* @fires module:history~Command#event:history
* @returns {void|true}
*/
@ -22461,6 +22461,7 @@ var fixIDs = function fixIDs(svgEl, svgNum, force) {
/**
* @callback module:jQuerySVGIcons.SVGIconsLoadedCallback
* @param {PlainObject<string, external:jQuery>} svgIcons IDs keyed to jQuery objects of images
* @returns {void}
*/
/**
@ -24578,6 +24579,7 @@ function jQueryPluginSpinButton($) {
* @param {string} href The `href` value after the first character (for bypassing an initial `#`)
* @param {external:jQuery} srcElement The wrapped jQuery srcElement
* @param {{x: Float, y: Float, docX: Float, docY: Float}} coords
* @returns {void}
*/
/**

File diff suppressed because one or more lines are too long

6
dist/index-umd.js vendored
View File

@ -3807,7 +3807,7 @@
* Applies
*
* @function module:history.HistoryCommand#apply
* @param {module:history.HistoryEventHandler}
* @param {module:history.HistoryEventHandler} handler
* @fires module:history~Command#event:history
* @returns {void|true}
*/
@ -3816,7 +3816,7 @@
*
* Unapplies
* @function module:history.HistoryCommand#unapply
* @param {module:history.HistoryEventHandler}
* @param {module:history.HistoryEventHandler} handler
* @fires module:history~Command#event:history
* @returns {void|true}
*/
@ -22467,6 +22467,7 @@
/**
* @callback module:jQuerySVGIcons.SVGIconsLoadedCallback
* @param {PlainObject<string, external:jQuery>} svgIcons IDs keyed to jQuery objects of images
* @returns {void}
*/
/**
@ -24584,6 +24585,7 @@
* @param {string} href The `href` value after the first character (for bypassing an initial `#`)
* @param {external:jQuery} srcElement The wrapped jQuery srcElement
* @param {{x: Float, y: Float, docX: Float, docY: Float}} coords
* @returns {void}
*/
/**

File diff suppressed because one or more lines are too long

View File

@ -3873,7 +3873,7 @@ var SvgCanvas = (function () {
* Applies
*
* @function module:history.HistoryCommand#apply
* @param {module:history.HistoryEventHandler}
* @param {module:history.HistoryEventHandler} handler
* @fires module:history~Command#event:history
* @returns {void|true}
*/
@ -3882,7 +3882,7 @@ var SvgCanvas = (function () {
*
* Unapplies
* @function module:history.HistoryCommand#unapply
* @param {module:history.HistoryEventHandler}
* @param {module:history.HistoryEventHandler} handler
* @fires module:history~Command#event:history
* @returns {void|true}
*/

File diff suppressed because one or more lines are too long

View File

@ -16,6 +16,8 @@ let contextMenuExtensions = {};
* Signature depends on what the user adds; in the case of our uses with
* SVGEditor, no parameters are passed nor anything expected for a return.
* @callback module:contextmenu.MenuItemAction
* @param {...args} args
* @returns {any}
*/
/**

View File

@ -23,6 +23,7 @@ import {isMac} from '../browser.js';
* @param {string} href The `href` value after the first character (for bypassing an initial `#`)
* @param {external:jQuery} srcElement The wrapped jQuery srcElement
* @param {{x: Float, y: Float, docX: Float, docY: Float}} coords
* @returns {void}
*/
/**

View File

@ -44,7 +44,7 @@ class Command {
* Applies
*
* @function module:history.HistoryCommand#apply
* @param {module:history.HistoryEventHandler}
* @param {module:history.HistoryEventHandler} handler
* @fires module:history~Command#event:history
* @returns {void|true}
*/
@ -52,7 +52,7 @@ class Command {
*
* Unapplies
* @function module:history.HistoryCommand#unapply
* @param {module:history.HistoryEventHandler}
* @param {module:history.HistoryEventHandler} handler
* @fires module:history~Command#event:history
* @returns {void|true}
*/

View File

@ -149,6 +149,7 @@ const fixIDs = function (svgEl, svgNum, force) {
/**
* @callback module:jQuerySVGIcons.SVGIconsLoadedCallback
* @param {PlainObject<string, external:jQuery>} svgIcons IDs keyed to jQuery objects of images
* @returns {void}
*/
/**

View File

@ -383,6 +383,7 @@ export const getTransformList = function (elem) {
/**
* @callback module:SVGTransformList.removeElementFromListMap
* @param {Element} elem
* @returns {void}
*/
/**
* Replace `removeElementFromListMap` for unit-testing.

View File

@ -3804,7 +3804,7 @@
* Applies
*
* @function module:history.HistoryCommand#apply
* @param {module:history.HistoryEventHandler}
* @param {module:history.HistoryEventHandler} handler
* @fires module:history~Command#event:history
* @returns {void|true}
*/
@ -3813,7 +3813,7 @@
*
* Unapplies
* @function module:history.HistoryCommand#unapply
* @param {module:history.HistoryEventHandler}
* @param {module:history.HistoryEventHandler} handler
* @fires module:history~Command#event:history
* @returns {void|true}
*/
@ -22464,6 +22464,7 @@
/**
* @callback module:jQuerySVGIcons.SVGIconsLoadedCallback
* @param {PlainObject<string, external:jQuery>} svgIcons IDs keyed to jQuery objects of images
* @returns {void}
*/
/**
@ -24581,6 +24582,7 @@
* @param {string} href The `href` value after the first character (for bypassing an initial `#`)
* @param {external:jQuery} srcElement The wrapped jQuery srcElement
* @param {{x: Float, y: Float, docX: Float, docY: Float}} coords
* @returns {void}
*/
/**

View File

@ -3804,7 +3804,7 @@
* Applies
*
* @function module:history.HistoryCommand#apply
* @param {module:history.HistoryEventHandler}
* @param {module:history.HistoryEventHandler} handler
* @fires module:history~Command#event:history
* @returns {void|true}
*/
@ -3813,7 +3813,7 @@
*
* Unapplies
* @function module:history.HistoryCommand#unapply
* @param {module:history.HistoryEventHandler}
* @param {module:history.HistoryEventHandler} handler
* @fires module:history~Command#event:history
* @returns {void|true}
*/
@ -22464,6 +22464,7 @@
/**
* @callback module:jQuerySVGIcons.SVGIconsLoadedCallback
* @param {PlainObject<string, external:jQuery>} svgIcons IDs keyed to jQuery objects of images
* @returns {void}
*/
/**
@ -24581,6 +24582,7 @@
* @param {string} href The `href` value after the first character (for bypassing an initial `#`)
* @param {external:jQuery} srcElement The wrapped jQuery srcElement
* @param {{x: Float, y: Float, docX: Float, docY: Float}} coords
* @returns {void}
*/
/**