Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed linting errors.

  • Loading branch information...
commit 909beedeb4b0324dd89712d1dd9283f4190e3d22 1 parent b896794
@cesutherland cesutherland authored
Showing with 5 additions and 5 deletions.
  1. +5 −5 js/imagediff.js
View
10 js/imagediff.js
@@ -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 (
Please sign in to comment.
Something went wrong with that request. Please try again.