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

About: update example to use better practices #641

Merged
1 commit merged into from
Apr 10, 2016

Conversation

Fishrock123
Copy link
Contributor

@ghost
Copy link

ghost commented Apr 10, 2016

wouldn't no-semicolons be kind of alienating to some users?

@Fishrock123
Copy link
Contributor Author

Shouldn't be. Since is the official documentation it should be noted that it will most definitely work, and will prepare people for the inevitable hordes of semicolonless code people will see in various modules. :)

res.setHeader('Content-Type', 'text/plain')
res.end('Hello World\n')
})
server.listen(port, hostname, () => {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we put one blank line between this line and the previous?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yup

@ghost
Copy link

ghost commented Apr 10, 2016

LGTM :)

@ghost ghost merged commit b5b70c6 into nodejs:master Apr 10, 2016
@Fishrock123
Copy link
Contributor Author

pardon me but um

also for testing the latest https://github.com/nodejs-github-bot/github-bot

@Fishrock123
Copy link
Contributor Author

nvm I'll just make a test PR then

@ghost
Copy link

ghost commented Apr 10, 2016

@Fishrock123 wow i cant read

@lpinca
Copy link
Member

lpinca commented Apr 12, 2016

Can we put back the semicolons? I think this is inconsistent with the API docs where semicolons are always used.

It's just an OCD of mine, don't want to start yet another semicolons discussion.

This pull request was closed.
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