mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Remove some unintended changes.
This commit is contained in:
parent
176452c988
commit
948de2bdbe
3 changed files with 2 additions and 2 deletions
|
@ -1053,6 +1053,7 @@ var CanvasGraphics = (function CanvasGraphicsClosure() {
|
|||
|
||||
this.restore();
|
||||
},
|
||||
|
||||
paintImageMaskXObject: function canvasGraphicsPaintImageMaskXObject(
|
||||
imgArray, inverseDecode, width, height) {
|
||||
function applyStencilMask(buffer, inverseDecode) {
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue