Merge pull request #11616 from Snuffleupagus/demo-link

Update the PDF.js web page to link to both versions of the demo viewer (PR 11241 follow-up)
This commit is contained in:
Tim van der Meij 2020-02-18 23:48:44 +01:00 committed by GitHub
commit 54484bd3c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -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

View File

@ -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>