Updated lint errors

This commit is contained in:
sbarman 2012-06-11 14:57:58 -07:00
parent d0678ed66e
commit c900dfeced

View File

@ -94,7 +94,6 @@ var PDFImage = (function PDFImageClosure() {
}
}
if (smask) {
this.smask = new PDFImage(xref, res, smask, false);
} else if (mask) {
@ -132,7 +131,7 @@ var PDFImage = (function PDFImageClosure() {
if (mask && isStream(mask)) {
handleImageData(handler, xref, res, mask, maskPromise);
} else if (mask) {
TODO('handle color key masking')
TODO('handle color key masking');
maskPromise.resolve(null);
} else {
maskPromise.resolve(null);
@ -302,7 +301,7 @@ var PDFImage = (function PDFImageClosure() {
// Need to invert values in buffer
for (var i = 0, ii = sw * sh; i < ii; ++i)
buf[i] = 255 - buf[i]
buf[i] = 255 - buf[i];
if (sw != width || sh != height)
buf = PDFImage.resize(buf, mask.bpc, 1, sw, sh, width, height);