Jonas Jenwald
0068dba009
[api-minor] Rename -es5
to -legacy
, to reduce confusion over what's actually supported (issue 12976)
...
*Please note that this will also require some edits of the Wiki.*
2021-02-10 16:01:59 +01:00
Jonas Jenwald
5520737798
Update the main, and pdfjs-dist, README to also include recent ECMAScript features
...
This adds "optional chaining" and "nullish coalescing" to the list of features needed when using the *modern*, i.e. non-translated/non-polyfilled, build of the PDF.js library.
2021-01-19 17:49:12 +01:00
Jonas Jenwald
449c7763d5
[api-minor] Only support browsers/environments that have *basic* support for Promise
natively
...
Based on https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise#Browser_compatibility and https://caniuse.com/#feat=promises , all even remotely modern browsers already support *basic* `Promise` functionality natively.
The only reason for keeping the `Promise` polyfill (at all) is to be able to support recent additions to the specification, such as e.g. `finally` and `allSettled`.
Note that this patch will, on its own, remove support for IE 11/Edge (non-Chromium based) in both the general PDF.js library and the default viewer.
2020-09-06 13:45:56 +02:00
Jonas Jenwald
c97c778f8f
[api-minor] Produce non-translated/non-polyfilled builds by default
2020-02-14 18:12:07 +01:00
Yury Delendik
10f702f60e
Adds readme file for the pdfjs-dist repo.
2014-09-24 07:10:09 -05:00