pdf.js/external/builder
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
..
fixtures Add the external/builder/fixtures/ directory to .eslintignore, to avoid having to disable various lint rules locally 2017-01-10 14:45:40 +01:00
fixtures_esprima Removes last UMDs from the modules. 2017-05-31 07:14:17 -05:00
builder.js Fix the remaining cases of inconsistent spacing and trailing commas in objects, and enable the comma-dangle and object-curly-spacing ESLint rules 2017-06-03 23:35:37 +02:00
preprocessor2.js Add support for async/await using Babel 2018-08-19 16:54:11 +02:00
test-fixtures_esprima.js Fix the remaining cases of inconsistent spacing and trailing commas in objects, and enable the comma-dangle and object-curly-spacing ESLint rules 2017-06-03 23:35:37 +02:00
test-fixtures.js Fix esprima tests. 2017-05-04 08:24:44 -05:00