From: sbarman Date: Mon, 27 Jun 2011 17:51:13 +0000 (-0700) Subject: clean up X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=8a812e2ec987dea407c305744252b6ae11876f1c;p=pdf.js.git clean up --- diff --git a/pdf.js b/pdf.js index 0c6f12b..43514eb 100644 --- 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");