From 81f439d43070fba72010b0ce2e20595aa8fde5c2 Mon Sep 17 00:00:00 2001 From: Antoine Vandecreme Date: Wed, 6 Apr 2016 09:10:51 -0400 Subject: [PATCH] Document the viewport parameter as mandatory in Overlay.getBounds. --- src/overlay.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/overlay.js b/src/overlay.js index 9c7b4d93..000b395a 100644 --- a/src/overlay.js +++ b/src/overlay.js @@ -419,7 +419,7 @@ /** * Returns the current bounds of the overlay in viewport coordinates * @function - * @param {OpenSeadragon.Viewport} [viewport] the viewport + * @param {OpenSeadragon.Viewport} viewport the viewport * @returns {OpenSeadragon.Rect} overlay bounds */ getBounds: function(viewport) {