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
Deprecated API usage with examples #10377
Comments
The examples have already been updated with this new API usage, just not yet on JSFiddle. @yurydelendik Could you perhaps update all examples on that page with the current code from the |
Fixed |
Came here because I was getting this error when upgrading from v1 to v2:
In short, we now have to explicitly refer to
|
the view port error is die to using version 1 way: change it to use GetViewportParameters :
|
Configuration:
//mozilla.github.io/pdf.js/build/pdf.js
)Steps to reproduce the problem:
<script src="//mozilla.github.io/pdf.js/build/pdf.js"></script>
pdfjsLib.GlobalWorkerOptions.workerSrc = '//mozilla.github.io/pdf.js/build/pdf.worker.js';
What went wrong? (add screenshot)
The text was updated successfully, but these errors were encountered: