From: Brendan Dahl Date: Mon, 12 Dec 2011 17:53:31 +0000 (-0800) Subject: Remove some unintended changes. X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=948de2bdbe57a80433c87a2fe4fe27aeabf0ccae;p=pdf.js.git Remove some unintended changes. --- diff --git a/src/canvas.js b/src/canvas.js index 086b43d..475dbac 100644 --- a/src/canvas.js +++ b/src/canvas.js @@ -1053,6 +1053,7 @@ var CanvasGraphics = (function CanvasGraphicsClosure() { this.restore(); }, + paintImageMaskXObject: function canvasGraphicsPaintImageMaskXObject( imgArray, inverseDecode, width, height) { function applyStencilMask(buffer, inverseDecode) { diff --git a/src/core.js b/src/core.js index 79b7a12..e974655 100644 --- a/src/core.js +++ b/src/core.js @@ -16,6 +16,7 @@ var verbosity = WARNINGS; if (!globalScope.PDFJS) { globalScope.PDFJS = {}; } + // getPdf() // Convenience function to perform binary Ajax GET // Usage: getPdf('http://...', callback) @@ -446,7 +447,6 @@ var PDFDocModel = (function PDFDocModelClosure() { this.startXRef, this.mainXRefEntriesOffset); this.catalog = new Catalog(this.xref); - this.objs = new PDFObjects(); }, get numPages() { var linearization = this.linearization; diff --git a/src/image.js b/src/image.js index 38377b4..cc7242a 100644 --- a/src/image.js +++ b/src/image.js @@ -26,7 +26,6 @@ var PDFImage = (function PDFImageClosure() { } function PDFImage(xref, res, image, inline, smask) { this.image = image; - if (image.getParams) { // JPX/JPEG2000 streams directly contain bits per component // and color space mode information.