-
Notifications
You must be signed in to change notification settings - Fork 70
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
fixes minor code problems, such as missing semicolons, etc. #26
Conversation
joscha
commented
Nov 30, 2014
- a few forgottons semicolons
- a few forgotten "new" invocations
- globals definition for JSHint
@@ -1,3 +1,4 @@ | |||
/* global require, process, Buffer, module */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it for jshint purpose?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, it tells JSHint that these symbols exist in the global namespace
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK I see. Thanks 👍
I will add a .jshintrc
with a node
flag set to true
once I merge this PR :-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool, as the branch is on this repo, you can also just reuse it and add the .jshintrc
in here and close it together.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oops, just saw, the branch needs rebasing before anyway...
@oncletom rebased and added JSHint rules |
fixes minor code problems, such as missing semicolons, etc.
Thanks @joscha 👍 |