Skip to content

Commit

Permalink
Bump pdf.js to 1.10.100.
Browse files Browse the repository at this point in the history
  • Loading branch information
Joni Orponen committed Jan 28, 2019
1 parent 5bc8562 commit 92baeb7
Show file tree
Hide file tree
Showing 116 changed files with 72,753 additions and 66,574 deletions.
7 changes: 5 additions & 2 deletions UPDATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ This guide describes how to update the pdf.js javascript library.
│   │   │   └── pdfjs_viewer
│   │   │   ├── application.js
│   │   │   ├── pdfjs
│   │   │   │   ├── compatibility.js *
│   │   │   │   ├── l10n.js *
│   │   │   │   └── pdf.js *
│   │   │   ├── viewer.js *
│   │   │   └── viewer_configurations.js
Expand Down Expand Up @@ -88,6 +86,11 @@ Replace all children of `<head>` except the `<meta>` tags with
<%= render "pdfjs_viewer/viewer/head", title: title, pdf_url: pdf_url %>
```

##
Inject the correct styling class into the body classes.
```html
<body tabindex="1" class="loadingInProgress" id="pdfjs_viewer-<%= style %>">
```
##

At the bottom of the file insert `<%= render "pdfjs_viewer/viewer/printcontainer" %>` after `<div id="printContainer"></div>`
2 changes: 0 additions & 2 deletions app/assets/javascripts/pdfjs_viewer/application.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
// Read Sprockets README (https://github.com/sstephenson/sprockets#sprockets-directives) for details
// about supported directives.
//
//= require pdfjs_viewer/pdfjs/compatibility
//= require pdfjs_viewer/pdfjs/l10n
//= require pdfjs_viewer/pdfjs/pdf
//= require pdfjs_viewer/viewer_configurations
//= require pdfjs_viewer/viewer
Loading

0 comments on commit 92baeb7

Please sign in to comment.