summaryrefslogtreecommitdiff
path: root/doc/api/repl.md
diff options
context:
space:
mode:
authorRoman Reiss <me@silverwind.io>2017-02-04 16:15:33 +0100
committerRoman Reiss <me@silverwind.io>2017-03-02 17:55:45 +0100
commitff1361957df58ef92c8a9dfce40c6091ea3a21d4 (patch)
tree10721c2b86095033930bffc4e52cf38d40033f16 /doc/api/repl.md
parentebe8c3debeea708ca69b8724dda9ad9c5c32e72c (diff)
downloadandroid-node-v8-ff1361957df58ef92c8a9dfce40c6091ea3a21d4.tar.gz
android-node-v8-ff1361957df58ef92c8a9dfce40c6091ea3a21d4.tar.bz2
android-node-v8-ff1361957df58ef92c8a9dfce40c6091ea3a21d4.zip
doc: consistent case for primitive types
PR-URL: https://github.com/nodejs/node/pull/11167 Reviewed-By: Timothy Gu <timothygu99@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Diffstat (limited to 'doc/api/repl.md')
-rw-r--r--doc/api/repl.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/api/repl.md b/doc/api/repl.md
index f4d85e11c9..d6fa95414d 100644
--- a/doc/api/repl.md
+++ b/doc/api/repl.md
@@ -308,7 +308,7 @@ Clearing context...
added: v0.3.0
-->
-* `keyword` {String} The command keyword (*without* a leading `.` character).
+* `keyword` {string} The command keyword (*without* a leading `.` character).
* `cmd` {Object|Function} The function to invoke when the command is processed.
The `replServer.defineCommand()` method is used to add new `.`-prefixed commands
@@ -316,7 +316,7 @@ to the REPL instance. Such commands are invoked by typing a `.` followed by the
`keyword`. The `cmd` is either a Function or an object with the following
properties:
-* `help` {String} Help text to be displayed when `.help` is entered (Optional).
+* `help` {string} Help text to be displayed when `.help` is entered (Optional).
* `action` {Function} The function to execute, optionally accepting a single
string argument.
@@ -355,7 +355,7 @@ Goodbye!
added: v0.1.91
-->
-* `preserveCursor` {Boolean}
+* `preserveCursor` {boolean}
The `replServer.displayPrompt()` method readies the REPL instance for input
from the user, printing the configured `prompt` to a new line in the `output`
@@ -380,7 +380,7 @@ changes:
-->
* `options` {Object | String}
- * `prompt` {String} The input prompt to display. Defaults to `> `
+ * `prompt` {string} The input prompt to display. Defaults to `> `
(with a trailing space).
* `input` {Readable} The Readable stream from which REPL input will be read.
Defaults to `process.stdin`.