From cd7bb8a8c4a5e4c52327e6b977aba5d514623933 Mon Sep 17 00:00:00 2001 From: Antoine Vandecreme Date: Wed, 6 Apr 2016 12:55:50 -0400 Subject: [PATCH] Fix doc and debug message. --- src/overlay.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/overlay.js b/src/overlay.js index 000b395a..76eb347c 100644 --- a/src/overlay.js +++ b/src/overlay.js @@ -423,8 +423,8 @@ * @returns {OpenSeadragon.Rect} overlay bounds */ getBounds: function(viewport) { - $.console.assert(viewport, 'Calling Overlay.getBounds withouth ' + - 'specifying a viewport is deprecated.'); + $.console.assert(viewport, + 'A viewport must now be passed to Overlay.getBounds.'); var width = this.width; var height = this.height; if (width === null || height === null) { @@ -442,6 +442,7 @@ viewport, new $.Rect(location.x, location.y, width, height)); }, + // private _adjustBoundsForRotation: function(viewport, bounds) { if (!viewport || viewport.degrees === 0 ||