summaryrefslogtreecommitdiff
path: root/doc/api/modules.md
diff options
context:
space:
mode:
authorVse Mozhet Byt <vsemozhetbyt@gmail.com>2017-04-21 07:53:00 +0300
committerVse Mozhet Byt <vsemozhetbyt@gmail.com>2017-04-25 00:05:33 +0300
commitb6d293d2158c66a3edbb86c0c43b4c51af3484f7 (patch)
tree9f924abbe8a8efe10a34ab7448d22a4e1c632746 /doc/api/modules.md
parent26047c39c89ff40bfbab5e02e8186dab2d2832af (diff)
downloadandroid-node-v8-b6d293d2158c66a3edbb86c0c43b4c51af3484f7.tar.gz
android-node-v8-b6d293d2158c66a3edbb86c0c43b4c51af3484f7.tar.bz2
android-node-v8-b6d293d2158c66a3edbb86c0c43b4c51af3484f7.zip
doc: prepare js code for eslint-plugin-markdown
This is an initial step to eliminate most of parsing errors. PR-URL: https://github.com/nodejs/node/pull/12563 Refs: https://github.com/nodejs/node/pull/12557#issuecomment-296015032 Reviewed-By: Teddy Katz <teddy.katz@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Timothy Gu <timothygu99@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
Diffstat (limited to 'doc/api/modules.md')
-rw-r--r--doc/api/modules.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/api/modules.md b/doc/api/modules.md
index 65f57314cc..d40f25d0a9 100644
--- a/doc/api/modules.md
+++ b/doc/api/modules.md
@@ -558,7 +558,8 @@ object, it is common to also reassign `exports`, for example:
```js
module.exports = exports = function Constructor() {
- // ... etc.
+ // ... etc.
+};
```
To illustrate the behavior, imagine this hypothetical implementation of