From c3b292cfb16f041502dca3f0447cc4c2837142e9 Mon Sep 17 00:00:00 2001 From: Dominik Picheta Date: Fri, 22 Aug 2014 14:57:20 +0100 Subject: [PATCH] Fix code style issue. --- src/rectangle.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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.'); }