Browse Source

try/catch bug. var not unset when getter length() throws error

Jean-Sebastien Legare 13 years ago
parent
commit
0cdecf007f
  1. 1
      src/core.js

1
src/core.js

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

Loading…
Cancel
Save