summaryrefslogtreecommitdiff
path: root/tools/doc
diff options
context:
space:
mode:
authorRuben Bridgewater <ruben@bridgewater.de>2019-03-07 01:03:53 +0100
committerRuben Bridgewater <ruben@bridgewater.de>2019-03-10 00:44:40 +0100
commitf8763bb077db2f0be74e353c0b4f9e353c0fffa8 (patch)
treec73128074daa65d2e72e4d2a86a5b08059888144 /tools/doc
parent01a5300f3f4f788a043f6b5fe72e2b7b641dfb6c (diff)
downloadandroid-node-v8-f8763bb077db2f0be74e353c0b4f9e353c0fffa8.tar.gz
android-node-v8-f8763bb077db2f0be74e353c0b4f9e353c0fffa8.tar.bz2
android-node-v8-f8763bb077db2f0be74e353c0b4f9e353c0fffa8.zip
benchmark,doc,lib,test: capitalize comments
PR-URL: https://github.com/nodejs/node/pull/26483 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Diffstat (limited to 'tools/doc')
-rw-r--r--tools/doc/html.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/doc/html.js b/tools/doc/html.js
index ef15cbded8..4d5e31fe9c 100644
--- a/tools/doc/html.js
+++ b/tools/doc/html.js
@@ -221,7 +221,7 @@ function preprocessElements({ filename }) {
node.children.shift();
node.children.unshift(...paragraph.children);
- // insert div with prefix and number
+ // Insert div with prefix and number
node.children.unshift({
type: 'html',
value: `<div class="api_stability api_stability_${number}">` +
@@ -231,7 +231,7 @@ function preprocessElements({ filename }) {
.replace(/\n/g, ' ')
});
- // remove prefix and number from text
+ // Remove prefix and number from text
text.value = explication;
// close div