Skip to content

Commit 9ca404e

Browse files
sam-githubevanlucas
authored andcommitted
doc: for style, remove "isn't" contraction
PR-URL: #10981 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Michael Dawson <[email protected]>
1 parent 4be9e98 commit 9ca404e

File tree

6 files changed

+17
-17
lines changed

6 files changed

+17
-17
lines changed

doc/api/console.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ const Console = console.Console;
7979

8080
Creates a new `Console` by passing one or two writable stream instances.
8181
`stdout` is a writable stream to print log or info output. `stderr`
82-
is used for warning or error output. If `stderr` isn't passed, warning and error
82+
is used for warning or error output. If `stderr` is not passed, warning and error
8383
output will be sent to `stdout`.
8484

8585
```js

doc/api/debugger.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ script.js
117117
on line 1
118118

119119
It is also possible to set a breakpoint in a file (module) that
120-
isn't loaded yet:
120+
is not loaded yet:
121121

122122
```txt
123123
$ node debug test/fixtures/break-in-module/main.js

doc/api/domain.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ if (cluster.isMaster) {
153153
server.listen(PORT);
154154
}
155155

156-
// This part isn't important. Just an example routing thing.
156+
// This part is not important. Just an example routing thing.
157157
// You'd put your fancy application logic here.
158158
function handleRequest(req, res) {
159159
switch(req.url) {

doc/api/globals.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ added: v0.1.27
3232
The directory name of the current module. This the same as the
3333
[`path.dirname()`][] of the [`__filename`][].
3434

35-
`__dirname` isn't actually a global but rather local to each module.
35+
`__dirname` is not actually a global but rather local to each module.
3636

3737
Example: running `node example.js` from `/Users/mjr`
3838

@@ -60,7 +60,7 @@ command line.
6060

6161
See [`__dirname`][] for the directory name of the current module.
6262

63-
`__filename` isn't actually a global but rather local to each module.
63+
`__filename` is not actually a global but rather local to each module.
6464

6565
Examples:
6666

@@ -132,7 +132,7 @@ A reference to the `module.exports` that is shorter to type.
132132
See [module system documentation][] for details on when to use `exports` and
133133
when to use `module.exports`.
134134

135-
`exports` isn't actually a global but rather local to each module.
135+
`exports` is not actually a global but rather local to each module.
136136

137137
See the [module system documentation][] for more information.
138138

@@ -163,7 +163,7 @@ A reference to the current module. In particular
163163
`module.exports` is used for defining what a module exports and makes
164164
available through `require()`.
165165

166-
`module` isn't actually a global but rather local to each module.
166+
`module` is not actually a global but rather local to each module.
167167

168168
See the [module system documentation][] for more information.
169169

@@ -187,7 +187,7 @@ added: v0.1.13
187187

188188
* {Function}
189189

190-
To require modules. See the [Modules][] section. `require` isn't actually a
190+
To require modules. See the [Modules][] section. `require` is not actually a
191191
global but rather local to each module.
192192

193193
### require.cache

doc/api/http.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ added: v0.7.0
298298
* `head` {Buffer}
299299

300300
Emitted each time a server responds to a request with a `CONNECT` method. If this
301-
event isn't being listened for, clients receiving a `CONNECT` method will have
301+
event is not being listened for, clients receiving a `CONNECT` method will have
302302
their connections closed.
303303

304304
A client and server pair that shows you how to listen for the `'connect'` event:
@@ -396,7 +396,7 @@ added: v0.1.94
396396
* `head` {Buffer}
397397

398398
Emitted each time a server responds to a request with an upgrade. If this
399-
event isn't being listened for, clients receiving an upgrade header will have
399+
event is not being listened for, clients receiving an upgrade header will have
400400
their connections closed.
401401

402402
A client server pair that show you how to listen for the `'upgrade'` event.
@@ -481,7 +481,7 @@ call `request.end()` or write the first chunk of request data. It then tries
481481
hard to pack the request headers and data into a single TCP packet.
482482

483483
That's usually what you want (it saves a TCP round-trip) but not when the first
484-
data isn't sent until possibly much later. `request.flushHeaders()` lets you bypass
484+
data is not sent until possibly much later. `request.flushHeaders()` lets you bypass
485485
the optimization and kickstart the request.
486486

487487
### request.setNoDelay([noDelay])
@@ -557,7 +557,7 @@ added: v0.3.0
557557
* `response` {http.ServerResponse}
558558

559559
Emitted each time a request with an HTTP `Expect: 100-continue` is received.
560-
If this event isn't listened for, the server will automatically respond
560+
If this event is not listened for, the server will automatically respond
561561
with a `100 Continue` as appropriate.
562562

563563
Handling this event involves calling [`response.writeContinue()`][] if the client
@@ -577,7 +577,7 @@ added: v5.5.0
577577
* `response` {http.ServerResponse}
578578

579579
Emitted each time a request with an HTTP `Expect` header is received, where the
580-
value is not `100-continue`. If this event isn't listened for, the server will
580+
value is not `100-continue`. If this event is not listened for, the server will
581581
automatically respond with a `417 Expectation Failed` as appropriate.
582582

583583
Note that when this event is emitted and handled, the [`'request'`][] event will
@@ -634,8 +634,8 @@ added: v0.7.0
634634
* `socket` {net.Socket} Network socket between the server and client
635635
* `head` {Buffer} The first packet of the tunneling stream (may be empty)
636636

637-
Emitted each time a client requests an HTTP `CONNECT` method. If this event isn't
638-
listened for, then clients requesting a `CONNECT` method will have their
637+
Emitted each time a client requests an HTTP `CONNECT` method. If this event is
638+
not listened for, then clients requesting a `CONNECT` method will have their
639639
connections closed.
640640

641641
After this event is emitted, the request's socket will not have a `'data'`
@@ -676,7 +676,7 @@ added: v0.1.94
676676
* `socket` {net.Socket} Network socket between the server and client
677677
* `head` {Buffer} The first packet of the upgraded stream (may be empty)
678678

679-
Emitted each time a client requests an HTTP upgrade. If this event isn't
679+
Emitted each time a client requests an HTTP upgrade. If this event is not
680680
listened for, then clients requesting an upgrade will have their connections
681681
closed.
682682

doc/api/modules.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ added: v0.1.16
463463

464464
In each module, the `module` free variable is a reference to the object
465465
representing the current module. For convenience, `module.exports` is
466-
also accessible via the `exports` module-global. `module` isn't actually
466+
also accessible via the `exports` module-global. `module` is not actually
467467
a global but rather local to each module.
468468

469469
### module.children

0 commit comments

Comments
 (0)