Skip to content

Commit

Permalink
Fixed linting errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
cesutherland committed Feb 20, 2012
1 parent b896794 commit 909beed
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions js/imagediff.js
Expand Up @@ -53,11 +53,11 @@
return isType(object, TYPE_CONTEXT); return isType(object, TYPE_CONTEXT);
} }
function isImageData (object) { function isImageData (object) {
return !!(object return !!(object &&
&& isType(object, TYPE_IMAGE_DATA) isType(object, TYPE_IMAGE_DATA) &&
&& typeof(object.width) !== UNDEFINED typeof(object.width) !== UNDEFINED &&
&& typeof(object.height) !== UNDEFINED typeof(object.height) !== UNDEFINED &&
&& typeof(object.data) !== UNDEFINED); typeof(object.data) !== UNDEFINED);
} }
function isImageType (object) { function isImageType (object) {
return ( return (
Expand Down

0 comments on commit 909beed

Please sign in to comment.