Skip to content

Commit

Permalink
Merge pull request #11616 from Snuffleupagus/demo-link
Browse files Browse the repository at this point in the history
Update the PDF.js web page to link to both versions of the demo viewer (PR 11241 follow-up)
  • Loading branch information
timvandermeij authored Feb 18, 2020
2 parents e6aaf09 + e242cfd commit 54484bd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ Feel free to stop by #pdfjs on irc.mozilla.org for questions or guidance.

### Online demo

Please note that the "Modern browsers" version assumes native support for
features such as e.g. `async`/`await`, `Promise`, and `ReadableStream`.

+ Modern browsers: https://mozilla.github.io/pdf.js/web/viewer.html

+ Older browsers: https://mozilla.github.io/pdf.js/es5/web/viewer.html
Expand Down
2 changes: 1 addition & 1 deletion docs/contents/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ template: layout.jade
</p>
<p class="text-center">
<a type="button" class="btn btn-lg btn-default" href="getting_started/#download">Download</a>
<a type="button" class="btn btn-lg btn-default" href="web/viewer.html">Demo</a>
<a type="button" class="btn btn-lg btn-default" href="/~https://github.com/mozilla/pdf.js#online-demo">Demo</a>
<a type="button" class="btn btn-lg btn-default" href="/~https://github.com/mozilla/pdf.js">GitHub Project</a>
</p>

0 comments on commit 54484bd

Please sign in to comment.