1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-20 07:08:08 +02:00

Merge pull request #2318 from init-js/master

try/catch fallback fails to disable linearization
This commit is contained in:
Yury Delendik 2012-10-28 11:40:45 -07:00
commit 02aee99400

View file

@ -458,6 +458,7 @@ var PDFDocument = (function PDFDocumentClosure() {
} catch (err) {
warn('The linearization data is not available ' +
'or unreadable pdf data is found');
linearization = false;
}
}
// shadow the prototype getter with a data property