Closed gabrieldeal closed 5 years ago
I did not realize what I was getting into when I started this. :)
The tests pass for more recent versions of Rails and Ruby. But they fail for Rails 5.0 and older and for Ruby 2.2.
For what it is worth:
pdfjs_viewer-rails = 0.3.0
is out, updating PDF.js to 1.10.100 (see #51) and making this PR obsolte. Thanks anyway 😉
Updating
pdf.js
to v1.9.426. And updating the documentation inUPDATE.md
.I noticed #45 after I did this work. Feel free to close this PR as a duplicate. I did put all my manual edits into separate commits, so it should be pretty easy to see the changes I made to the original
pdf.js
files.Note: one of the tests fails for me on this branch, but it also fails in the same way in an unmodified branch. We'll see how it runs on Travis CI.