- Docs (JSDoc): Further on preferring void

This commit is contained in:
Brett Zamir
2019-04-16 08:59:16 +08:00
parent 894fed3e80
commit d84f39cb3f
62 changed files with 576 additions and 575 deletions

View File

@@ -63,7 +63,7 @@ export default {
/**
*
* @returns {undefined}
* @returns {void}
*/
function loadIcons () {
$('#shape_buttons').empty().append(curLib.buttons);
@@ -79,7 +79,7 @@ export default {
/**
* @param {string|"basic"} cat Category ID
* @param {module:Extension.Shapes.Shapes} shapes
* @returns {undefined}
* @returns {void}
*/
function makeButtons (cat, shapes) {
const size = curLib.size || 300;
@@ -118,7 +118,7 @@ export default {
/**
* @param {string|"basic"} catId
* @returns {undefined}
* @returns {void}
*/
function loadLibrary (catId) {
const lib = library[catId];