Fix lints.
This commit is contained in:
parent
b40af3555b
commit
cddb106358
@ -613,7 +613,7 @@ var PDFDoc = (function pdfDoc() {
|
||||
messageHandler.on('page_error', function pdfDocError(data) {
|
||||
var page = this.pageCache[data.pageNum];
|
||||
if (page.errorback)
|
||||
page.errorback(data.error)
|
||||
page.errorback(data.error);
|
||||
else
|
||||
throw data.error;
|
||||
}, this);
|
||||
|
@ -79,7 +79,7 @@ var WorkerMessageHandler = {
|
||||
var page = pdfDoc.getPage(pageNum);
|
||||
// Pre compile the pdf page and fetch the fonts/images.
|
||||
var IRQueue = page.getIRQueue(handler, dependency);
|
||||
} catch(e) {
|
||||
} catch (e) {
|
||||
// Turn the error into an obj that can be serialized
|
||||
e = {
|
||||
message: e.message,
|
||||
|
Loading…
Reference in New Issue
Block a user