From 84d0df2b31ded5ebc3d77c252687b0489fbd9dff Mon Sep 17 00:00:00 2001 From: Jonas Jenwald Date: Sat, 24 Jun 2017 12:24:18 +0200 Subject: [PATCH] Mention in the "Getting the Code" section of README.md that an ES6 compatible browser is required when using the default viewer with `gulp server` The https://github.com/mozilla/pdf.js/wiki/Contributing article has been updated to explicitly mention that an ES6 browser is now a minimum requirement for development. Since we recently have seen a couple of issues filed which seemed to indicate that people tried to use PDF.js in browsers without full ES6 support, it's probably a good idea to mention this more prominently in the README as well. --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 017fd60a4..54ae02492 100644 --- a/README.md +++ b/README.md @@ -63,15 +63,17 @@ If everything worked out, install all dependencies for PDF.js: $ npm install Finally you need to start a local web server as some browsers do not allow opening -PDF files using a file:// URL. Run +PDF files using a `file://` URL. Run: $ gulp server -and then you can open +and then you can open: + http://localhost:8888/web/viewer.html -It is also possible to view all test PDF files on the right side by opening +Please keep in mind that this requires an ES6 compatible browser; refer to [Building PDF.js](https://github.com/mozilla/pdf.js/blob/master/README.md#building-pdfjs) for usage with older browsers. + +It is also possible to view all test PDF files on the right side by opening: + http://localhost:8888/test/pdfs/?frame