Fixed code style issue.

This commit is contained in:
Grant Echols 2014-02-20 14:04:26 -07:00
parent 2fd1a849d1
commit 576df57cdc

View File

@ -2152,7 +2152,7 @@ function onFullScreen() {
function onRotateLeft() { function onRotateLeft() {
if ( this.viewport ) { if ( this.viewport ) {
var currRotation = this.viewport.getRotation(); var currRotation = this.viewport.getRotation();
if (currRotation == 0) { if (currRotation === 0) {
currRotation = 270; currRotation = 270;
} }
else { else {
@ -2168,7 +2168,7 @@ function onRotateLeft() {
function onRotateRight() { function onRotateRight() {
if ( this.viewport ) { if ( this.viewport ) {
var currRotation = this.viewport.getRotation(); var currRotation = this.viewport.getRotation();
if (currRotation == 270) { if (currRotation === 270) {
currRotation = 0; currRotation = 0;
} }
else { else {