We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
https://rails-assets.org/#/components/mozilla--pdf.js
docs say:
//= require mozilla--pdf.js //= require jquery //= require jquery_ujs //= require turbolinks
However this did not work, by digging through the gem. I had to do:
//= require pdf.js.js //= require jquery //= require jquery_ujs //= require turbolinks
Also I have come across issues post requiring this (Uncaught ReferenceError: require is not defined). I believe this gem needs built with the prebuilt 'pdfjs-dist' https://github.com/mozilla/pdf.js#using-pdfjs-in-a-web-application.
Uncaught ReferenceError: require is not defined
The text was updated successfully, but these errors were encountered:
No branches or pull requests
https://rails-assets.org/#/components/mozilla--pdf.js
docs say:
However this did not work, by digging through the gem.
I had to do:
Also I have come across issues post requiring this
(
Uncaught ReferenceError: require is not defined
).I believe this gem needs built with the prebuilt 'pdfjs-dist' https://github.com/mozilla/pdf.js#using-pdfjs-in-a-web-application.
The text was updated successfully, but these errors were encountered: