-
-
Notifications
You must be signed in to change notification settings - Fork 31.5k
doc: fix, remove unnecessary bind(this) #4797
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Conversation
Might as well make it an expression (single-line) arrow function |
LGTM. |
I think will need to refactor all other arrow functions, If make it as a single-line expression, for uniform code style. |
I think usually keeping the braces will help understandability in docs for newcomers. cc @nodejs/documentation |
+1 to keeping the braces |
Also +1 to keeping braces. LGTM as is. |
LGTM. The brace/no-brace disagreement emphasizes the degree to which we need to put a linter in the doctool. |
Related nodejs/docs#62 |
PR-URL: #4797 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Chris Dickinson <chris@neversaw.us> Reviewed-By: Roman Reiss <me@silverwind.io>
Thanks! Landed in 2c42635. |
PR-URL: #4797 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Chris Dickinson <chris@neversaw.us> Reviewed-By: Roman Reiss <me@silverwind.io>
PR-URL: nodejs#4797 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Chris Dickinson <chris@neversaw.us> Reviewed-By: Roman Reiss <me@silverwind.io>
PR-URL: #4797 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Chris Dickinson <chris@neversaw.us> Reviewed-By: Roman Reiss <me@silverwind.io>
PR-URL: #4797 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Chris Dickinson <chris@neversaw.us> Reviewed-By: Roman Reiss <me@silverwind.io>
PR-URL: #4797 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Chris Dickinson <chris@neversaw.us> Reviewed-By: Roman Reiss <me@silverwind.io>
PR-URL: #4797 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Chris Dickinson <chris@neversaw.us> Reviewed-By: Roman Reiss <me@silverwind.io>
PR-URL: nodejs#4797 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Chris Dickinson <chris@neversaw.us> Reviewed-By: Roman Reiss <me@silverwind.io>
No description provided.