From c0a023eaf97bd764ac0d226093c30bd87015a563 Mon Sep 17 00:00:00 2001 From: Jonas Jenwald Date: Wed, 25 Jan 2023 15:46:53 +0100 Subject: [PATCH] Update various README files to be less specific about the supported JavaScript features By being less specific about which *exact* JavaScript features are required for the default vs `legacy` build, we don't need to worry about keeping multiple README files up-to-date. These README files will now refer back to the FAQ for current browser/environment support information. --- README.md | 5 ++--- external/dist/README.md | 6 +++--- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index a881f5eff..287ae53ea 100644 --- a/README.md +++ b/README.md @@ -23,9 +23,8 @@ Feel free to stop by our [Matrix room](https://chat.mozilla.org/#/room/#pdfjs:mo ### Online demo -Please note that the "Modern browsers" version assumes native support for -features such as optional chaining, nullish coalescing, -and private `class` fields/methods; please also see [this wiki page](https://github.com/mozilla/pdf.js/wiki/Frequently-Asked-Questions#faq-support). +Please note that the "Modern browsers" version assumes native support for the +latest JavaScript features; please also see [this wiki page](https://github.com/mozilla/pdf.js/wiki/Frequently-Asked-Questions#faq-support). + Modern browsers: https://mozilla.github.io/pdf.js/web/viewer.html diff --git a/external/dist/README.md b/external/dist/README.md index 144be52bf..70b6b3c95 100644 --- a/external/dist/README.md +++ b/external/dist/README.md @@ -7,8 +7,8 @@ parsing and rendering PDFs. This is a pre-built version of the PDF.js source code. It is automatically generated by the build scripts. -For usage with older browsers or environments, without support for modern -features such as optional chaining, nullish coalescing, -and private `class` fields/methods; please see the `legacy/` folder. +For usage with older browsers/environments, without native support for the +latest JavaScript features, please see the `legacy/` folder. +Please see [this wiki page](https://github.com/mozilla/pdf.js/wiki/Frequently-Asked-Questions#faq-support) for information about supported browsers/environments. See https://github.com/mozilla/pdf.js for learning and contributing.