pdf.js/external
Jonas Jenwald 099ed08852 Add support for async/await using Babel
For proof-of-concept, this patch converts a couple of `Promise` returning methods to use `async` instead.
Please note that the `generic` build, based on this patch, has been successfully testing in IE11 (i.e. the viewer loads and nothing is obviously broken).

Being able to use modern JavaScript features like `async`/`await` is a huge plus, but there's one (obvious) side-effect: The size of the built files will increase slightly (unless `SKIP_BABEL == true`). That's unavoidable, but seems like a small price to pay in the grand scheme of things.

Finally, note that the `chromium` build target was changed to no longer skip Babel translation, since the Chrome extension still supports version `49` of the browser (where native `async` support isn't available).
2018-08-19 16:54:11 +02:00
..
bcmaps Removes external/cmaps; adds binary cmaps to the repo 2014-03-17 13:30:27 -05:00
builder Add support for async/await using Babel 2018-08-19 16:54:11 +02:00
cmapscompress Fix typos 2018-04-01 23:20:41 +02:00
dist Move the workerPort from the global PDFJS object and into GlobalWorkerOptions instead 2018-02-16 13:22:35 +01:00
importL10n Remove the jp-JP-mac locale 2018-07-08 15:40:38 +02:00
streams Added sendWithStream method in MessageHandler. 2017-06-07 21:05:27 +05:30
systemjs Prevent the development viewer, started with gulp server, from breaking completely in Private Browsing mode 2018-07-03 13:26:01 +02:00
url Stop exposing the URL polyfill in the global scope 2018-07-04 09:16:28 +02:00
webL10n Fix typos 2018-04-01 23:20:41 +02:00
webpack Upgrade to Webpack 4 2018-06-02 20:28:36 +02:00
.eslintrc Provide custom messages for the no-restricted-globals ESLint rule, and refactor the .eslintrc files (PR 9868 follow-up) 2018-07-23 14:10:13 +02:00
.gitignore Removes external/cmaps; adds binary cmaps to the repo 2014-03-17 13:30:27 -05:00