]> git.parisson.com Git - pdf.js.git/commitdiff
clean up
authorsbarman <sbarman@L3CWZ5T.(none)>
Mon, 27 Jun 2011 17:51:13 +0000 (10:51 -0700)
committersbarman <sbarman@L3CWZ5T.(none)>
Mon, 27 Jun 2011 17:51:13 +0000 (10:51 -0700)
pdf.js

diff --git a/pdf.js b/pdf.js
index 0c6f12b501e474166ea49bf7df26c289d6b3bb0f..43514ebf060a182cd099d9bc859d493ea7abb20d 100644 (file)
--- a/pdf.js
+++ b/pdf.js
@@ -4535,7 +4535,6 @@ var PDFImage = (function() {
             // rows start at byte boundary;
             var rowBytes = (width * numComps * bpc + 7) >> 3;
             var imgArray = this.image.getBytes(height * rowBytes);
-            var imgPos = 0;
             
             var comps = this.getComponents(imgArray);
             var compsPos = 0;
@@ -4565,7 +4564,7 @@ var PDFImage = (function() {
                     TODO("Images with "+ numComps + " components per pixel");
             }
         },
-        fillGrayBuffer: function fillGrayScaleBuffer(buffer) {
+        fillGrayBuffer: function fillGrayBuffer(buffer) {
             var numComps = this.numComps;
             if (numComps != 1)
                 error("Reading gray scale from a color image");