From 22da51cf30b25973362a705cfe4a4727576be3a5 Mon Sep 17 00:00:00 2001 From: sreepurnajasti Date: Sun, 31 Dec 2017 15:15:43 +0530 Subject: [PATCH] doc: fix duplicate words & spellings in docs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/17923 Reviewed-By: Vse Mozhet Byt Reviewed-By: Luigi Pinca Reviewed-By: Richard Lau Reviewed-By: Tobias Nießen Reviewed-By: Benjamin Gruenbaum Reviewed-By: Colin Ihrig Reviewed-By: Jon Moss --- doc/api/async_hooks.md | 2 +- doc/api/dgram.md | 4 ++-- doc/api/esm.md | 2 +- doc/api/inspector.md | 2 +- doc/api/v8.md | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/api/async_hooks.md b/doc/api/async_hooks.md index 54bae4b1387088..7d07622eda7403 100644 --- a/doc/api/async_hooks.md +++ b/doc/api/async_hooks.md @@ -526,7 +526,7 @@ const server = net.createServer((conn) => { ## JavaScript Embedder API -Library developers that handle their own asychronous resources performing tasks +Library developers that handle their own asynchronous resources performing tasks like I/O, connection pooling, or managing callback queues may use the `AsyncWrap` JavaScript API so that all the appropriate callbacks are called. diff --git a/doc/api/dgram.md b/doc/api/dgram.md index 2ddbee5a1322a8..67c666dbe0433a 100644 --- a/doc/api/dgram.md +++ b/doc/api/dgram.md @@ -392,7 +392,7 @@ added: v8.6.0 * `multicastInterface` {String} -*Note: All references to scope in this section are refering to +*Note: All references to scope in this section are referring to [IPv6 Zone Indices][], which are defined by [RFC 4007][]. In string form, an IP with a scope index is written as `'IP%scope'` where scope is an interface name or interface number.* @@ -486,7 +486,7 @@ packet is allowed to travel through, specifically for multicast traffic. Each router or gateway that forwards a packet decrements the TTL. If the TTL is decremented to 0 by a router, it will not be forwarded. -The argument passed to to `socket.setMulticastTTL()` is a number of hops +The argument passed to `socket.setMulticastTTL()` is a number of hops between 0 and 255. The default on most systems is `1` but can vary. ### socket.setRecvBufferSize(size) diff --git a/doc/api/esm.md b/doc/api/esm.md index ef9adbdc73f68d..08d3ea6b3060b9 100644 --- a/doc/api/esm.md +++ b/doc/api/esm.md @@ -206,7 +206,7 @@ export async function dynamicInstantiate(url) { ``` With the list of module exports provided upfront, the `execute` function will -then be called at the exact point of module evalutation order for that module +then be called at the exact point of module evaluation order for that module in the import tree. [Node.js EP for ES Modules]: https://github.com/nodejs/node-eps/blob/master/002-es-modules.md diff --git a/doc/api/inspector.md b/doc/api/inspector.md index a3426d4b5d9dc8..b6f702f0dd5b60 100644 --- a/doc/api/inspector.md +++ b/doc/api/inspector.md @@ -22,7 +22,7 @@ const inspector = require('inspector'); to false. Activate inspector on host and port. Equivalent to `node ---inspect=[[host:]port]`, but can be done programatically after node has +--inspect=[[host:]port]`, but can be done programmatically after node has started. If wait is `true`, will block until a client has connected to the inspect port diff --git a/doc/api/v8.md b/doc/api/v8.md index 64c9be1a88b688..c9d2512fddff2f 100644 --- a/doc/api/v8.md +++ b/doc/api/v8.md @@ -269,7 +269,7 @@ by subclasses. This method is called to generate error objects that will be thrown when an object can not be cloned. -This method defaults to the [`Error`][] constructor and can be be overridden on +This method defaults to the [`Error`][] constructor and can be overridden on subclasses. #### serializer.\_getSharedArrayBufferId(sharedArrayBuffer)