Skip to content

Demos: Fix a typo with an extra semicolon #1812

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

Closed
wants to merge 1 commit into from
Closed

Demos: Fix a typo with an extra semicolon #1812

wants to merge 1 commit into from

Conversation

robertbrignull
Copy link
Contributor

Highly trivial typo but this extra semicolon was causing ctx to be declared as a global variable instead of a local one. It could potentially cause troubles if someone enables strict mode.

This potential problem was found using lgtm.com where we analyse many open source projects. This repo has basically no other alerts but you can see the results of your dependencies or in context of other JavaScript projects.

@jsf-clabot
Copy link

jsf-clabot commented May 7, 2017

CLA assistant check
All committers have signed the CLA.

@robertbrignull
Copy link
Contributor Author

Apologies if I misunderstood the authors file and I wasn't meant to add myself to that. If you'd like me to remove that change let me know if a second commit or amending this one would be preferable.

@scottgonzalez
Copy link
Member

Apologies if I misunderstood the authors file and I wasn't meant to add myself to that.

No problem. That file is auto-generated by a build task. I removed your edit to that file when I merged. Your name will be added prior to the next release.

Thanks for the patch!

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

Successfully merging this pull request may close these issues.

3 participants