]> git.parisson.com Git - pdf.js.git/commitdiff
Remove some unintended changes.
authorBrendan Dahl <brendan.dahl@gmail.com>
Mon, 12 Dec 2011 17:53:31 +0000 (09:53 -0800)
committerBrendan Dahl <brendan.dahl@gmail.com>
Mon, 12 Dec 2011 17:53:31 +0000 (09:53 -0800)
src/canvas.js
src/core.js
src/image.js

index 086b43d97040bd3a630454fed5ee2f719e83e9d3..475dbac08a5b3f98f4ce9ab053e40fa468f3a248 100644 (file)
@@ -1053,6 +1053,7 @@ var CanvasGraphics = (function CanvasGraphicsClosure() {
 
       this.restore();
     },
+
     paintImageMaskXObject: function canvasGraphicsPaintImageMaskXObject(
                              imgArray, inverseDecode, width, height) {
       function applyStencilMask(buffer, inverseDecode) {
index 79b7a12ca2d8466546164a7645e601d0d52906a3..e974655996813a5cc08bf80d0e39162802c987da 100644 (file)
@@ -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;
index 38377b4f7b5ee2cde1e65c6311f85a050bf269d4..cc7242ad575d8543bd36f49918cb0febd065ee98 100644 (file)
@@ -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.