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.
This commit is contained in:
parent
f1f9d98519
commit
84d0df2b31
@ -63,15 +63,17 @@ If everything worked out, install all dependencies for PDF.js:
|
|||||||
$ npm install
|
$ npm install
|
||||||
|
|
||||||
Finally you need to start a local web server as some browsers do not allow opening
|
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
|
$ gulp server
|
||||||
|
|
||||||
and then you can open
|
and then you can open:
|
||||||
|
|
||||||
+ http://localhost:8888/web/viewer.html
|
+ 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
|
+ http://localhost:8888/test/pdfs/?frame
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user