pdf.js/src
Jonas Jenwald 1ce295541c Always check all Kids nodes, in Catalog.getPageDict, to avoid getting stuck in an empty node further down in the Pages tree (issue 8088)
As discussed on IRC, we need to check all nodes at the *bottom* of the tree to ensure that we find the correct `Page` dict.
Furthermore, this patch also gets rid of the caching present in a previous version, since it's not clear if that really helps.

Note that this patch purposely adds an `eq` test, using a reduced test-case, so that we can be sure that the algorithm actually finds the correct `Page` dict for each `pageIndex`.

Fixes 8088.
2017-02-24 12:09:46 +01:00
..
core Always check all Kids nodes, in Catalog.getPageDict, to avoid getting stuck in an empty node further down in the Pages tree (issue 8088) 2017-02-24 12:09:46 +01:00
display [api-minor] Refactor fetching of built-in CMaps to utilize a factory on the display side instead, to allow users of the API to provide a custom CMap loading factory (e.g. for use with Node.js) 2017-02-16 10:55:35 +01:00
images Vectorize the logo. 2012-10-29 14:08:52 -04:00
shared Enable running the cmap unit-tests on Travis by utilizing a NodeCMapReaderFactory 2017-02-17 23:15:36 +01:00
doc_helper.js Switch to using ESLint, instead of JSHint, for linting 2016-12-16 21:06:36 +01:00
license_header.js Replace copyright headers; changes UMD to CommonJS. 2017-02-08 16:35:58 -06:00
main_loader.js Append the contents of FileAttachment annotations to the attachments view of the sidebar, for easier access to the embedded files 2017-01-31 22:26:16 +01:00
pdf.js Fixes pdf.combined.js for webpack. 2017-02-10 11:24:35 -06:00
pdf.worker.entry.js Switch to using ESLint, instead of JSHint, for linting 2016-12-16 21:06:36 +01:00
pdf.worker.js Replacing custom bundling with webpack2. 2017-02-08 16:32:15 -06:00
worker_loader.js Replaces all preprocessor directives with PDFJSDev calls. 2016-10-14 10:57:53 -05:00