diff --git a/src/rectangle.js b/src/rectangle.js index 1bac049f..4e3746eb 100644 --- a/src/rectangle.js +++ b/src/rectangle.js @@ -194,9 +194,7 @@ $.Rect.prototype = /** @lends OpenSeadragon.Rect.prototype */{ newTopLeft; degrees = ( degrees + 360 ) % 360; - - if (degrees % 90 !== 0) - { + if (degrees % 90 !== 0) { throw new Error('Currently only 0, 90, 180, and 270 degrees are supported.'); }