diff options
author | Daniel Bevenius <daniel.bevenius@gmail.com> | 2016-11-08 21:04:57 +0100 |
---|---|---|
committer | Daniel Bevenius <daniel.bevenius@gmail.com> | 2016-11-16 07:52:57 +0100 |
commit | 367065be4be33dac6e0c325f88dfa1fac1314903 (patch) | |
tree | bdfadf72df864915d38384b2c1bf8ddd402d922d /doc/api/globals.md | |
parent | 5242114d89652a217880c0a0f216bf46a51c1379 (diff) | |
download | node-new-367065be4be33dac6e0c325f88dfa1fac1314903.tar.gz |
doc: make comment indentation consistent
Currently, some of the docs use different indentation for comments
in the code examples. This commit makes the indentation consistent
by putting the comments at the beginning of the line (really no
indentation that is).
PR-URL: https://github.com/nodejs/node/pull/9518
Reviewed-By: Teddy Katz <teddy.katz@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Diffstat (limited to 'doc/api/globals.md')
-rw-r--r-- | doc/api/globals.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/globals.md b/doc/api/globals.md index 885e2e09fc..ca96ec4478 100644 --- a/doc/api/globals.md +++ b/doc/api/globals.md @@ -35,7 +35,7 @@ Example: running `node example.js` from `/Users/mjr` ```js console.log(__dirname); -// /Users/mjr +// Prints: /Users/mjr ``` `__dirname` isn't actually a global but rather local to each module. @@ -68,7 +68,7 @@ Example: running `node example.js` from `/Users/mjr` ```js console.log(__filename); -// /Users/mjr/example.js +// Prints: /Users/mjr/example.js ``` `__filename` isn't actually a global but rather local to each module. |