Skip to content

Change let to var #738

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

Merged
merged 1 commit into from
Mar 24, 2017
Merged

Change let to var #738

merged 1 commit into from
Mar 24, 2017

Conversation

samwyma
Copy link

@samwyma samwyma commented Mar 24, 2017

Hey guys,

I found this small issue today after refreshing my node modules and pulling in a new version of vue-loader. I'm using Node v4.7.3 and it was throwing this error whilst compiling style blocks:

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

So, this tiny change is how I fixed it...pretty sure it's not going to break anything!

@kazupon kazupon merged commit 31506f2 into vuejs:master Mar 24, 2017
kazupon added a commit that referenced this pull request Mar 24, 2017
kazupon added a commit that referenced this pull request Mar 24, 2017
* Revert "custom blocks translation for ja (#737)"

This reverts commit 9ce7003.

* Revert "Change let to var (#738)"

This reverts commit 31506f2.
kazupon added a commit that referenced this pull request Mar 24, 2017
* Revert "Change let to var" (#739)

* Revert "custom blocks translation for ja (#737)"

This reverts commit 9ce7003.

* Revert "Change let to var (#738)"

This reverts commit 31506f2.

* Revert "Revert "Change let to var" (#739)"

This reverts commit fc2dbc4.
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.

2 participants