Node 6 support (#484)

This patch:
- introduces a transpiler which substitutes async/await logic with
generators.
- starts using the transpiler to generate a node6-compatible version of puppeteer
- introduces a runtime-check to decide which version of code to use

Fixes #316.
This commit is contained in:
JoelEinbinder
2017-08-24 12:20:05 -07:00
committed by Andrey Lushnikov
parent 46115f9182
commit 9212863b92
12 changed files with 292 additions and 23 deletions

1
.gitignore vendored
View File

@@ -7,3 +7,4 @@
*.pyc
.vscode
package-lock.json
/node6