| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -69,7 +69,7 @@ const Console = console.Console; | |||
| 69 | 69 | ||
| 70 | 70 | Creates a new `Console` by passing one or two writable stream instances. | |
| 71 | 71 | `stdout` is a writable stream to print log or info output. `stderr` | |
| 72 | - is used for warning or error output. If `stderr` isn't passed, warning and error | ||
| 72 | + is used for warning or error output. If `stderr` is not passed, warning and error | ||
| 73 | 73 | output will be sent to `stdout`. | |
| 74 | 74 | ||
| 75 | 75 | ```js | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -117,7 +117,7 @@ script.js | |||
| 117 | 117 | on line 1 | |
| 118 | 118 | ||
| 119 | 119 | It is also possible to set a breakpoint in a file (module) that | |
| 120 | - isn't loaded yet: | ||
| 120 | + is not loaded yet: | ||
| 121 | 121 | ||
| 122 | 122 | ```txt | |
| 123 | 123 | $ node debug test/fixtures/break-in-module/main.js | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -153,7 +153,7 @@ if (cluster.isMaster) { | |||
| 153 | 153 | server.listen(PORT); | |
| 154 | 154 | } | |
| 155 | 155 | ||
| 156 | - // This part isn't important. Just an example routing thing. | ||
| 156 | + // This part is not important. Just an example routing thing. | ||
| 157 | 157 | // You'd put your fancy application logic here. | |
| 158 | 158 | function handleRequest(req, res) { | |
| 159 | 159 | switch (req.url) { | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -32,7 +32,7 @@ added: v0.1.27 | |||
| 32 | 32 | The directory name of the current module. This the same as the | |
| 33 | 33 | [`path.dirname()`][] of the [`__filename`][]. | |
| 34 | 34 | ||
| 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. | ||
| 36 | 36 | ||
| 37 | 37 | Example: running `node example.js` from `/Users/mjr` | |
| 38 | 38 | ||
@@ -60,7 +60,7 @@ command line. | |||
| 60 | 60 | ||
| 61 | 61 | See [`__dirname`][] for the directory name of the current module. | |
| 62 | 62 | ||
| 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. | ||
| 64 | 64 | ||
| 65 | 65 | Examples: | |
| 66 | 66 | ||
@@ -132,7 +132,7 @@ A reference to the `module.exports` that is shorter to type. | |||
| 132 | 132 | See [module system documentation][] for details on when to use `exports` and | |
| 133 | 133 | when to use `module.exports`. | |
| 134 | 134 | ||
| 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. | ||
| 136 | 136 | ||
| 137 | 137 | See the [module system documentation][] for more information. | |
| 138 | 138 | ||
@@ -163,7 +163,7 @@ A reference to the current module. In particular | |||
| 163 | 163 | `module.exports` is used for defining what a module exports and makes | |
| 164 | 164 | available through `require()`. | |
| 165 | 165 | ||
| 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. | ||
| 167 | 167 | ||
| 168 | 168 | See the [module system documentation][] for more information. | |
| 169 | 169 | ||
@@ -187,7 +187,7 @@ added: v0.1.13 | |||
| 187 | 187 | ||
| 188 | 188 | * {Function} | |
| 189 | 189 | ||
| 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 | ||
| 191 | 191 | global but rather local to each module. | |
| 192 | 192 | ||
| 193 | 193 | ### require.cache | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -298,7 +298,7 @@ added: v0.7.0 | |||
| 298 | 298 | * `head` {Buffer} | |
| 299 | 299 | ||
| 300 | 300 | 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 | ||
| 302 | 302 | their connections closed. | |
| 303 | 303 | ||
| 304 | 304 | A client and server pair that shows you how to listen for the `'connect'` event: | |
@@ -396,7 +396,7 @@ added: v0.1.94 | |||
| 396 | 396 | * `head` {Buffer} | |
| 397 | 397 | ||
| 398 | 398 | 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 | ||
| 400 | 400 | their connections closed. | |
| 401 | 401 | ||
| 402 | 402 | A client server pair that show you how to listen for the `'upgrade'` event. | |
@@ -489,7 +489,7 @@ call `request.end()` or write the first chunk of request data. It then tries | |||
| 489 | 489 | hard to pack the request headers and data into a single TCP packet. | |
| 490 | 490 | ||
| 491 | 491 | That's usually what you want (it saves a TCP round-trip) but not when the first | |
| 492 | - data isn't sent until possibly much later. `request.flushHeaders()` lets you bypass | ||
| 492 | + data is not sent until possibly much later. `request.flushHeaders()` lets you bypass | ||
| 493 | 493 | the optimization and kickstart the request. | |
| 494 | 494 | ||
| 495 | 495 | ### request.setNoDelay([noDelay]) | |
@@ -565,7 +565,7 @@ added: v0.3.0 | |||
| 565 | 565 | * `response` {http.ServerResponse} | |
| 566 | 566 | ||
| 567 | 567 | Emitted each time a request with an HTTP `Expect: 100-continue` is received. | |
| 568 | - If this event isn't listened for, the server will automatically respond | ||
| 568 | + If this event is not listened for, the server will automatically respond | ||
| 569 | 569 | with a `100 Continue` as appropriate. | |
| 570 | 570 | ||
| 571 | 571 | Handling this event involves calling [`response.writeContinue()`][] if the client | |
@@ -585,7 +585,7 @@ added: v5.5.0 | |||
| 585 | 585 | * `response` {http.ServerResponse} | |
| 586 | 586 | ||
| 587 | 587 | Emitted each time a request with an HTTP `Expect` header is received, where the | |
| 588 | - value is not `100-continue`. If this event isn't listened for, the server will | ||
| 588 | + value is not `100-continue`. If this event is not listened for, the server will | ||
| 589 | 589 | automatically respond with a `417 Expectation Failed` as appropriate. | |
| 590 | 590 | ||
| 591 | 591 | Note that when this event is emitted and handled, the [`'request'`][] event will | |
@@ -642,8 +642,8 @@ added: v0.7.0 | |||
| 642 | 642 | * `socket` {net.Socket} Network socket between the server and client | |
| 643 | 643 | * `head` {Buffer} The first packet of the tunneling stream (may be empty) | |
| 644 | 644 | ||
| 645 | - Emitted each time a client requests an HTTP `CONNECT` method. If this event isn't | ||
| 646 | - listened for, then clients requesting a `CONNECT` method will have their | ||
| 645 | + Emitted each time a client requests an HTTP `CONNECT` method. If this event is | ||
| 646 | + not listened for, then clients requesting a `CONNECT` method will have their | ||
| 647 | 647 | connections closed. | |
| 648 | 648 | ||
| 649 | 649 | After this event is emitted, the request's socket will not have a `'data'` | |
@@ -684,7 +684,7 @@ added: v0.1.94 | |||
| 684 | 684 | * `socket` {net.Socket} Network socket between the server and client | |
| 685 | 685 | * `head` {Buffer} The first packet of the upgraded stream (may be empty) | |
| 686 | 686 | ||
| 687 | - Emitted each time a client requests an HTTP upgrade. If this event isn't | ||
| 687 | + Emitted each time a client requests an HTTP upgrade. If this event is not | ||
| 688 | 688 | listened for, then clients requesting an upgrade will have their connections | |
| 689 | 689 | closed. | |
| 690 | 690 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -463,7 +463,7 @@ added: v0.1.16 | |||
| 463 | 463 | ||
| 464 | 464 | In each module, the `module` free variable is a reference to the object | |
| 465 | 465 | 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 | ||
| 467 | 467 | a global but rather local to each module. | |
| 468 | 468 | ||
| 469 | 469 | ### module.children | |
| Back | FazBrowse Home | New Git URL |
0 commit comments