]> git.parisson.com Git - pdf.js.git/commitdiff
Lint
authorArtur Adib <arturadib@gmail.com>
Fri, 9 Dec 2011 19:57:52 +0000 (14:57 -0500)
committerArtur Adib <arturadib@gmail.com>
Fri, 9 Dec 2011 19:57:52 +0000 (14:57 -0500)
src/image.js

index f24d28638c791abea1c19ce8220d4ed830160afa..a691bcd8c427c220c64be843e9c6de1fd1e977cd 100644 (file)
@@ -199,7 +199,7 @@ var PDFImage = (function pdfImage() {
       var length = width * height * 4;
 
       // Is there a one-to-one correspondence between pixels in the loop below?
-      if (length !== 4*comps.length/3)
+      if (length !== 4 * comps.length / 3)
         error('Number of image pixels mismatch (RGB)');
 
       for (var i = 0; i < length; i += 4) {