Fix nits.

This commit is contained in:
Brendan Dahl 2011-12-15 15:13:48 -08:00
parent f4f125f67d
commit 8096d747c0
2 changed files with 2 additions and 3 deletions

View File

@ -1106,9 +1106,9 @@ var CanvasGraphics = (function CanvasGraphicsClosure() {
paintImageXObject: function canvasGraphicsPaintImageXObject(objId) { paintImageXObject: function canvasGraphicsPaintImageXObject(objId) {
var imgData = this.objs.get(objId); var imgData = this.objs.get(objId);
if (!imgData) { if (!imgData)
error('Dependent image isn\'t ready yet'); error('Dependent image isn\'t ready yet');
}
this.save(); this.save();
var ctx = this.ctx; var ctx = this.ctx;
var w = imgData.width; var w = imgData.width;

View File

@ -214,7 +214,6 @@ var PDFImage = (function PDFImageClosure() {
bits = remainingBits; bits = remainingBits;
} }
} }
if(decodeMap) console.timeEnd('getComps');
return output; return output;
}, },
getOpacity: function getOpacity() { getOpacity: function getOpacity() {