Permalink
Browse files

Fixed linting errors.

  • Loading branch information...
1 parent b896794 commit 909beedeb4b0324dd89712d1dd9283f4190e3d22 @cesutherland cesutherland committed Feb 20, 2012
Showing with 5 additions and 5 deletions.
  1. +5 −5 js/imagediff.js
View
@@ -53,11 +53,11 @@
return isType(object, TYPE_CONTEXT);
}
function isImageData (object) {
- return !!(object
- && isType(object, TYPE_IMAGE_DATA)
- && typeof(object.width) !== UNDEFINED
- && typeof(object.height) !== UNDEFINED
- && typeof(object.data) !== UNDEFINED);
+ return !!(object &&
+ isType(object, TYPE_IMAGE_DATA) &&
+ typeof(object.width) !== UNDEFINED &&
+ typeof(object.height) !== UNDEFINED &&
+ typeof(object.data) !== UNDEFINED);
}
function isImageType (object) {
return (

0 comments on commit 909beed

Please sign in to comment.