]> git.parisson.com Git - pdf.js.git/commitdiff
fix lint error, remove unnecessary comment
authornotmasteryet <async.processingjs@yahoo.com>
Thu, 12 Jan 2012 02:54:27 +0000 (20:54 -0600)
committernotmasteryet <async.processingjs@yahoo.com>
Thu, 12 Jan 2012 02:54:27 +0000 (20:54 -0600)
src/jpx.js

index ab8e1b037630eb331e2a24680473df2d0783d1e4..6f9f11c895974cc9d9e9381aebba9b7f85b1b5e9 100644 (file)
@@ -351,8 +351,6 @@ var JpxImage = (function JpxImageClosure() {
     ];
 
     function BitModel(width, height, subband, zeroBitPlanes) {
-      // TODO do we need to know offsets of the coefficients (not only width
-      // and height) ?
       this.width = width;
       this.height = height;
 
@@ -1405,7 +1403,7 @@ var JpxImage = (function JpxImageClosure() {
         if (!scalarExpounded) {
           // formula E-5
           mu = spqcds[0].mu;
-          epsilon = spqcds[0].epsilon + (i > 0 ?  1 - i : 0);
+          epsilon = spqcds[0].epsilon + (i > 0 ? 1 - i : 0);
         } else {
           mu = spqcds[b].mu;
           epsilon = spqcds[b].epsilon;