Skip to content

Commit

Permalink
Improve update documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
Joni Orponen committed Feb 11, 2019
1 parent 44a53b1 commit ab86376
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions UPDATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ PDFJS.cMapUrl = '/pdfjs/web/cmaps/';

Replace all `url(images/` with `url(/pdfjs/web/images/`

Take extra care here as there are a few instances of inconsistent naming across pdf.js releases! For example the upgrade to 1.10.100 was not a trivial find and replace.

## `app/views/pdfjs_viewer/viewer/_viewer.html.erb`

Replace the whole content of `app/views/pdfjs_viewer/viewer/_viewer.html.erb` with `web/viewer.html` from the new pdf.js release.
Expand Down

0 comments on commit ab86376

Please sign in to comment.