summaryrefslogtreecommitdiff
path: root/doc/api/modules.md
diff options
context:
space:
mode:
authorVse Mozhet Byt <vsemozhetbyt@gmail.com>2018-04-29 14:16:44 +0300
committerVse Mozhet Byt <vsemozhetbyt@gmail.com>2018-05-02 06:17:08 +0300
commit392d80a617fab8630e3f017076f1f59403db6470 (patch)
tree8569c662136f6b70e58612b0130ae7dbfb12e110 /doc/api/modules.md
parent536b1fbd3ff38df3d5e8eb0b011820fd94f68b9d (diff)
downloadandroid-node-v8-392d80a617fab8630e3f017076f1f59403db6470.tar.gz
android-node-v8-392d80a617fab8630e3f017076f1f59403db6470.tar.bz2
android-node-v8-392d80a617fab8630e3f017076f1f59403db6470.zip
doc: add missing periods or colons
Some other formatting nits were fixed and some superfluous descriptions were simplified in passing. PR-URL: https://github.com/nodejs/node/pull/20401 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'doc/api/modules.md')
-rw-r--r--doc/api/modules.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/modules.md b/doc/api/modules.md
index 92250544e0..5204a0ca61 100644
--- a/doc/api/modules.md
+++ b/doc/api/modules.md
@@ -706,7 +706,7 @@ this, assign the desired export object to `module.exports`. Note that assigning
the desired object to `exports` will simply rebind the local `exports` variable,
which is probably not what is desired.
-For example suppose we were making a module called `a.js`
+For example suppose we were making a module called `a.js`:
```js
const EventEmitter = require('events');
@@ -720,7 +720,7 @@ setTimeout(() => {
}, 1000);
```
-Then in another file we could do
+Then in another file we could do:
```js
const a = require('./a');