From 16c261fada3408b6fdaec9cbf899cd328c4eccad Mon Sep 17 00:00:00 2001 From: Jonas Jenwald Date: Tue, 18 Feb 2020 12:19:33 +0100 Subject: [PATCH 1/2] Update the PDF.js web page to link to both versions of the demo viewer (PR 11241 follow-up) Rather than adding two buttons, it seems easier to simply link to the relevant section of the README instead (since it also means fewer things to keep up-to-date). --- docs/contents/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/contents/index.md b/docs/contents/index.md index aaabe1e9f..7039eeb15 100644 --- a/docs/contents/index.md +++ b/docs/contents/index.md @@ -9,6 +9,6 @@ template: layout.jade

Download - Demo + Demo GitHub Project

From e242cfdd9b795c3bdfa91831f3dd412925d5aa32 Mon Sep 17 00:00:00 2001 From: Jonas Jenwald Date: Tue, 18 Feb 2020 12:35:10 +0100 Subject: [PATCH 2/2] Attempt to improve/clarify the "Online demo" section of the README Hopefully this will help, now that there's *two* version of the viewer available. --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 5ca22854f..f36d52c07 100644 --- a/README.md +++ b/README.md @@ -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