Document the viewport parameter as mandatory in Overlay.getBounds.

This commit is contained in:
Antoine Vandecreme 2016-04-06 09:10:51 -04:00
parent 53d1534cc2
commit 81f439d430

View File

@ -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) {