From 857a825ed883356a588ab42b173d5284ecae5f8c Mon Sep 17 00:00:00 2001 From: Uwe Schmidt Date: Fri, 12 May 2023 23:37:34 +0200 Subject: [PATCH] Fix some jsdoc typos --- src/buttongroup.js | 2 +- src/viewer.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/buttongroup.js b/src/buttongroup.js index 3898da56..088964d5 100644 --- a/src/buttongroup.js +++ b/src/buttongroup.js @@ -115,7 +115,7 @@ $.ButtonGroup.prototype = { /** * Adds the given button to this button group. * - * @functions + * @function * @param {OpenSeadragon.Button} button */ addButton: function( button ){ diff --git a/src/viewer.js b/src/viewer.js index b6f0fbcf..9afa1585 100644 --- a/src/viewer.js +++ b/src/viewer.js @@ -966,7 +966,7 @@ $.extend( $.Viewer.prototype, $.EventSource.prototype, $.ControlDock.prototype, * Turns debugging mode on or off for this viewer. * * @function - * @param {Boolean} true to turn debug on, false to turn debug off. + * @param {Boolean} debugMode true to turn debug on, false to turn debug off. */ setDebugMode: function(debugMode){ @@ -1015,7 +1015,7 @@ $.extend( $.Viewer.prototype, $.EventSource.prototype, $.ControlDock.prototype, /** * Adds the given button to this viewer. * - * @functions + * @function * @param {OpenSeadragon.Button} button */ addButton: function( button ){