summaryrefslogtreecommitdiff
path: root/doc/api/repl.md
diff options
context:
space:
mode:
authorVse Mozhet Byt <vsemozhetbyt@gmail.com>2017-07-03 03:05:59 +0300
committerVse Mozhet Byt <vsemozhetbyt@gmail.com>2017-07-05 06:51:10 +0300
commit15599cbc977af3bc2a94365adc6687ca5e2bde04 (patch)
treefd4c0022ed9e2059fb5e979332cb247627d077f0 /doc/api/repl.md
parent5100cc6851e5513b9e11f7e6244436ba48c79f2b (diff)
downloadandroid-node-v8-15599cbc977af3bc2a94365adc6687ca5e2bde04.tar.gz
android-node-v8-15599cbc977af3bc2a94365adc6687ca5e2bde04.tar.bz2
android-node-v8-15599cbc977af3bc2a94365adc6687ca5e2bde04.zip
tools: update: eslint-plugin-markdown@1.0.0-beta.7
* Remove pinning of eslint-plugin-markdown An issue affecting Node.js source has been fixed in eslint-plugin-markdown so we don't need to pin it to beta-4 anymore. Refs: https://github.com/eslint/eslint-plugin-markdown/issues/69 * Update eslint-plugin-markdown up to 1.0.0-beta.7 * Fix docs for eslint-plugin-markdown@1.0.0-beta.7 PR-URL: https://github.com/nodejs/node/pull/14047 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'doc/api/repl.md')
-rw-r--r--doc/api/repl.md14
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/api/repl.md b/doc/api/repl.md
index 9d6bdfb112..d18b34a5ea 100644
--- a/doc/api/repl.md
+++ b/doc/api/repl.md
@@ -40,7 +40,7 @@ The following special commands are supported by all REPL instances:
`> .load ./file/to/load.js`
* `.editor` - Enter editor mode (`<ctrl>-D` to finish, `<ctrl>-C` to cancel)
-<!-- eslint-disable -->
+<!-- eslint-skip -->
```js
> .editor
// Entering editor mode (^D to finish, ^C to cancel)
@@ -76,7 +76,7 @@ evaluation function when the `repl.REPLServer` instance is created.
The default evaluator supports direct evaluation of JavaScript expressions:
-<!-- eslint-disable -->
+<!-- eslint-skip -->
```js
> 1 + 1
2
@@ -105,7 +105,7 @@ repl.start('> ').context.m = msg;
Properties in the `context` object appear as local within the REPL:
-<!-- eslint-disable -->
+<!-- eslint-skip -->
```js
$ node repl_test.js
> m
@@ -135,7 +135,7 @@ REPL environment when used. For instance, unless otherwise declared as a
global or scoped variable, the input `fs` will be evaluated on-demand as
`global.fs = require('fs')`.
-<!-- eslint-disable -->
+<!-- eslint-skip -->
```js
> fs.createReadStream('./some/file');
```
@@ -146,7 +146,7 @@ The default evaluator will, by default, assign the result of the most recently
evaluated expression to the special variable `_` (underscore).
Explicitly setting `_` to a value will disable this behavior.
-<!-- eslint-disable -->
+<!-- eslint-skip -->
```js
> [ 'a', 'b', 'c' ]
[ 'a', 'b', 'c' ]
@@ -293,7 +293,7 @@ r.on('reset', initializeContext);
When this code is executed, the global `'m'` variable can be modified but then
reset to its initial value using the `.clear` command:
-<!-- eslint-disable -->
+<!-- eslint-skip -->
```js
$ ./node example.js
> m
@@ -443,7 +443,7 @@ Node.js itself uses the `repl` module to provide its own interactive interface
for executing JavaScript. This can be used by executing the Node.js binary
without passing any arguments (or by passing the `-i` argument):
-<!-- eslint-disable -->
+<!-- eslint-skip -->
```js
$ node
> const a = [1, 2, 3];