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

SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode #55

Closed
guitarneck opened this issue Dec 19, 2017 · 2 comments

Comments

@guitarneck
Copy link

Hi,

  • Minor bug
    SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode

So, it needs "use strict"; or changing all "let" by "var".

Thx.

@shannonlal
Copy link
Collaborator

@guitarneck thanks for pointing this out. I will try to fix this tonight and publish and new version.

@shannonlal
Copy link
Collaborator

Added a fix for this issue. let was only being used in two locations compared to var so I decided to remove it to make sure there were no backward compatibility issues

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

No branches or pull requests

2 participants