-
-
Notifications
You must be signed in to change notification settings - Fork 423
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support for pdf.js v2.4.456 #601
Comments
FYI, ng2-pdf-viewer version 6.3.0 has broken our MSIE11 compatibility, due to the dependency of pdfjs 2.4 on WeakMap. Our workaround was to downgrade ng2-pdf-viewer to 6.2.0. |
I see. IE10 and IE11 not begin the best example of a modern browser, at somepoint pdfjs probably wants to use more features of modern JS. It may not be the only one that come up. We only use evergreen browsers in the last 5 years of projects. But if I had to perhaps I would suggest using a polyfill: https://www.npmjs.com/package/weakmap-polyfill The reason, is there are tons of improvements to pdfjs, so I guess the polyfill, working, would be the better solution while taking all other advanges. |
@VadimDez thanks for the update :) Already in use. |
FYI, here have the same problem with version 6.3.0 : brokes our IE11 |
The mozilla guys mentioned in the changelog something interesting: "From now on we produce a non-translated/non-polyfilled build for modern browsers by default. However, we also provide the translated/polyfilled build for older browsers in a separate bundle (with the -es5-dist.zip suffix)." Not sure how to make such optional dependency work. Some libraries use peer dependency, and you do whatever you want in your webapp at the end. In the meantime, after many months a new release appeared yesterday, it includes performance optimizations/improvements: https://github.com/mozilla/pdf.js/releases/tag/v2.5.207 |
Bug Report or Feature Request (mark with an
x
)Hello there,
Is there any plan to update to pdf.js v2.4.456?
This newer release of pdf.js seems to include much better modularity. It includes more or less the work of nearly 6 months with several bugfixes to the application as well as the handling of PDFs
https://github.com/mozilla/pdf.js/releases/tag/v2.4.456
Cheers
Igor
The text was updated successfully, but these errors were encountered: