Fix code style issue.

This commit is contained in:
Dominik Picheta 2014-08-22 14:57:20 +01:00
parent ea80c05a05
commit c3b292cfb1

View File

@ -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.');
}