Skip to content
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

pdf.js and pdf.worker.js using different versions #165

Closed
ryanburr opened this issue Sep 27, 2017 · 0 comments
Closed

pdf.js and pdf.worker.js using different versions #165

ryanburr opened this issue Sep 27, 2017 · 0 comments
Assignees
Labels
Milestone

Comments

@ryanburr
Copy link

ryanburr commented Sep 27, 2017

Problem

It was noticed today that you are using a built version of pdf.js, but you are using a setting the PDFJS.workerSrc to an external version.

This is causing odd behavior if we have not updated to the latest version of this package. There is a more in depth conversation here

Solutions

  1. Ensure that we have the latest version of your package (not very maintainable due to external library)
  2. Point the PDFJS.workerSrc to the version that you build your package with
  3. Allow users to opt out of using the pdf.worker.js library (PDFJS allows you to do this. An example can be found here)
@VadimDez VadimDez self-assigned this Sep 29, 2017
@VadimDez VadimDez added the bug label Sep 29, 2017
@VadimDez VadimDez added this to the 2.0.0 milestone Sep 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants