From c016cc2b171ee03a607c7ad526088fffdb2ea15c Mon Sep 17 00:00:00 2001 From: sreepurnajasti Date: Thu, 25 Jan 2018 16:43:13 +0530 Subject: [PATCH] doc: fix e.g., to e.g. 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/18369 Fixes: https://github.com/nodejs/code-and-learn/issues/58 Reviewed-By: Vse Mozhet Byt Reviewed-By: Luigi Pinca Reviewed-By: Colin Ihrig Reviewed-By: Tobias Nießen --- COLLABORATOR_GUIDE.md | 2 +- doc/STYLE_GUIDE.md | 2 +- doc/api/addons.md | 2 +- doc/api/dns.md | 2 +- doc/api/tls.md | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/COLLABORATOR_GUIDE.md b/COLLABORATOR_GUIDE.md index b88ab2a7843b73..5a1d51dafe375c 100644 --- a/COLLABORATOR_GUIDE.md +++ b/COLLABORATOR_GUIDE.md @@ -623,7 +623,7 @@ error: failed to push some refs to 'https://github.com/nodejs/node' hint: Updates were rejected because the remote contains work that you do hint: not have locally. This is usually caused by another repository pushing hint: to the same ref. You may want to first integrate the remote changes -hint: (e.g., 'git pull ...') before pushing again. +hint: (e.g. 'git pull ...') before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details. ``` diff --git a/doc/STYLE_GUIDE.md b/doc/STYLE_GUIDE.md index 8ea9c8fe81b732..7fc2d6e0b1bb13 100644 --- a/doc/STYLE_GUIDE.md +++ b/doc/STYLE_GUIDE.md @@ -3,7 +3,7 @@ * Documentation is written in markdown files with names formatted as `lowercase-with-dashes.md`. * Underscores in filenames are allowed only when they are present in the - topic the document will describe (e.g., `child_process`). + topic the document will describe (e.g. `child_process`). * Some files, such as top-level markdown files, are exceptions. * Documents should be word-wrapped at 80 characters. * The formatting described in `.editorconfig` is preferred. diff --git a/doc/api/addons.md b/doc/api/addons.md index e2df5f30e9a32a..c6802530f6dc67 100644 --- a/doc/api/addons.md +++ b/doc/api/addons.md @@ -221,7 +221,7 @@ illustration of how it can be used. > Stability: 1 - Experimental N-API is an API for building native Addons. It is independent from -the underlying JavaScript runtime (e.g., V8) and is maintained as part of +the underlying JavaScript runtime (e.g. V8) and is maintained as part of Node.js itself. This API will be Application Binary Interface (ABI) stable across version of Node.js. It is intended to insulate Addons from changes in the underlying JavaScript engine and allow modules diff --git a/doc/api/dns.md b/doc/api/dns.md index 4ae44a211a0e06..c1ec1cfa51c41c 100644 --- a/doc/api/dns.md +++ b/doc/api/dns.md @@ -483,7 +483,7 @@ added: v0.1.27 Uses the DNS protocol to resolve text queries (`TXT` records) for the `hostname`. The `records` argument passed to the `callback` function is a -two-dimensional array of the text records available for `hostname` (e.g., +two-dimensional array of the text records available for `hostname` (e.g. `[ ['v=spf1 ip4:0.0.0.0 ', '~all' ] ]`). Each sub-array contains TXT chunks of one record. Depending on the use case, these could be either joined together or treated separately. diff --git a/doc/api/tls.md b/doc/api/tls.md index fc9f06ef140402..ea577c2583129e 100644 --- a/doc/api/tls.md +++ b/doc/api/tls.md @@ -521,7 +521,7 @@ added: v0.11.4 Returns the bound address, the address family name, and port of the underlying socket as reported by the operating system. Returns an -object with three properties, e.g., +object with three properties, e.g. `{ port: 12346, family: 'IPv4', address: '127.0.0.1' }` ### tlsSocket.authorizationError