summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPrince J Wesley <princejohnwesley@gmail.com>2016-07-23 12:10:45 +0530
committerPrince J Wesley <princejohnwesley@gmail.com>2016-07-28 08:56:20 +0530
commitc948877688ff2b6a37f2c88724b656aae495c7b2 (patch)
tree7f66fc851472dd151efe92604f872f81e3d2f413
parent868638b90367cb8a20f61995c2ceae656e3f092f (diff)
downloadandroid-node-v8-c948877688ff2b6a37f2c88724b656aae495c7b2.tar.gz
android-node-v8-c948877688ff2b6a37f2c88724b656aae495c7b2.tar.bz2
android-node-v8-c948877688ff2b6a37f2c88724b656aae495c7b2.zip
doc: align breakEvalOnSigint - repl option
PR-URL: https://github.com/nodejs/node/pull/7849 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: JungMinu - Minwoo Jung <jmwsoft@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
-rw-r--r--doc/api/repl.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/api/repl.md b/doc/api/repl.md
index 124106e642..5499f4dacb 100644
--- a/doc/api/repl.md
+++ b/doc/api/repl.md
@@ -392,9 +392,9 @@ added: v0.1.91
equivalent to prefacing every repl statement with `'use strict'`.
* `repl.REPL_MODE_MAGIC` - attempt to evaluates expressions in default
mode. If expressions fail to parse, re-try in strict mode.
- * `breakEvalOnSigint` - Stop evaluating the current piece of code when
- `SIGINT` is received, i.e. `Ctrl+C` is pressed. This cannot be used together
- with a custom `eval` function. Defaults to `false`.
+ * `breakEvalOnSigint` - Stop evaluating the current piece of code when
+ `SIGINT` is received, i.e. `Ctrl+C` is pressed. This cannot be used together
+ with a custom `eval` function. Defaults to `false`.
The `repl.start()` method creates and starts a `repl.REPLServer` instance.