diff options
author | Vse Mozhet Byt <vsemozhetbyt@gmail.com> | 2018-03-30 13:38:45 +0300 |
---|---|---|
committer | Vse Mozhet Byt <vsemozhetbyt@gmail.com> | 2018-03-30 16:07:48 +0300 |
commit | b88477ef4dc82b2a77c90b5de65efab4cf507d3c (patch) | |
tree | 1d89b46f82310daa1d6051d12a740b020aea73ec /tools/doc/common.js | |
parent | ae70e2bc34aca8b581f53eb49a27460ac1fc3f83 (diff) | |
download | android-node-v8-b88477ef4dc82b2a77c90b5de65efab4cf507d3c.tar.gz android-node-v8-b88477ef4dc82b2a77c90b5de65efab4cf507d3c.tar.bz2 android-node-v8-b88477ef4dc82b2a77c90b5de65efab4cf507d3c.zip |
tools: fix comment nits in tools/doc/*.js files
* Unify first letters case.
* Unify periods.
* Delete excess spaces.
* Add some blank lines as logical delimiters.
* Remove obvious comments.
* Combine short lines, rewrap lines more logically.
* Fix typos.
* "XXX" -> "TODO:", OSX -> macOS.
PR-URL: https://github.com/nodejs/node/pull/19696
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Shingo Inoue <leko.noor@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Diffstat (limited to 'tools/doc/common.js')
-rw-r--r-- | tools/doc/common.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/doc/common.js b/tools/doc/common.js index 48ff3d1b82..553b52935f 100644 --- a/tools/doc/common.js +++ b/tools/doc/common.js @@ -15,7 +15,7 @@ function extractAndParseYAML(text) { .replace(/^<!-- YAML/, '') .replace(/-->$/, ''); - // js-yaml.safeLoad() throws on error + // js-yaml.safeLoad() throws on error. const meta = yaml.safeLoad(text); if (meta.added) { |