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

Use "var" instead of "let" #27

Merged

Conversation

netes
Copy link
Contributor

@netes netes commented Jan 2, 2017

Latest release (0.3.1) introduced use of let in 2 places which resulted in this error:

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

when Node < 6. I've changed them to var to keep addon compatible with older Node versions.

@ivanvanderbyl ivanvanderbyl merged commit 78ac7a7 into ivanvanderbyl:master Jan 7, 2017
@ivanvanderbyl
Copy link
Owner

Thanks @netes

@onlymejosh
Copy link

@ivanvanderbyl can you release a new version please. As I'm currently having to peg the release to a commit :/

@ivanvanderbyl
Copy link
Owner

@onlymejosh just shipped 0.3.2

@onlymejosh
Copy link

onlymejosh commented Feb 21, 2017 via email

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

Successfully merging this pull request may close these issues.

None yet

3 participants