Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

async and await not supported #21

Open
laurent-33 opened this issue Nov 23, 2020 · 5 comments
Open

async and await not supported #21

laurent-33 opened this issue Nov 23, 2020 · 5 comments

Comments

@laurent-33
Copy link

that lead to errors when parsing file with uglify

@gunar
Copy link
Owner

gunar commented Nov 23, 2020

Thanks for the heads up! I'm definitely open to adding async/await.

@laurent-33
Copy link
Author

laurent-33 commented Nov 23, 2020

In fact I think it is due to uglify that maybe does not support recent javascript versions like ES8 ?

I have seen there is another problem with function declaration like this :

                         const blobimage_from_name = (blob_images, name) => {...}

I must modify to :

                         function blobimage_from_name(blob_images, name) {...}

to have it works and finaly get my gaph :)

@gunar
Copy link
Owner

gunar commented Nov 23, 2020 via email

@laurent-33
Copy link
Author

of course, it is to show a dude in my team how work the script
then he can quiclky see the graph, without I explain all details to him

PS : maybe not uglify the pb but can be babel too (i saw in the code of parser.js babel es6 ans es2015 preset ... but I dont know yet what that means)

@gunar
Copy link
Owner

gunar commented Nov 23, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants