- Linting (JSDoc): Update per newly enforced require-returns; avoid Closure syntax

- Docs (JSDoc): Prefer `void`
- npm: Update devDeps
This commit is contained in:
Brett Zamir
2019-04-16 08:58:40 +08:00
parent 7ca6b458e6
commit 894fed3e80
11 changed files with 84 additions and 52 deletions

View File

@@ -1168,6 +1168,7 @@ editor.init = function () {
/**
* Setup SVG icons
* @returns {void}
*/
function setIcons () {
$.svgIcons(curConfig.imgPath + 'svg_edit_icons.svg', {
@@ -5446,6 +5447,7 @@ editor.init = function () {
/**
* @implements {module:jQuerySpinButton.StepCallback}
* @returns {Float}
*/
function stepFontSize (elem, step) {
const origVal = Number(elem.value);
@@ -5470,6 +5472,7 @@ editor.init = function () {
/**
* @implements {module:jQuerySpinButton.StepCallback}
* @returns {Float}
*/
function stepZoom (elem, step) {
const origVal = Number(elem.value);