Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Cozza <joeycozza@gmail.com>2016-07-21 09:09:55 +0300
committercjihrig <cjihrig@gmail.com>2016-08-01 18:21:17 +0300
commit65a42ab8927ffc53f0188e16d33579f839b9815f (patch)
tree02df858e895f8086a5904bb6369752ab0107928f /doc/api/path.md
parent6945aa7085f97c5902c042df99de772136d08ee7 (diff)
doc: fix path markdown formatting
Single quotes in two of the examples were throwing off the formatting of the path documentation on the Node.js website. This commit expands two contractions to remove the offending quotes. PR-URL: https://github.com/nodejs/node/pull/7817 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Claudio Rodriguez <cjrodr@yahoo.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'doc/api/path.md')
-rw-r--r--doc/api/path.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/path.md b/doc/api/path.md
index fd07cd6802d..d977173596b 100644
--- a/doc/api/path.md
+++ b/doc/api/path.md
@@ -367,7 +367,7 @@ path.parse('/home/user/dir/file.txt')
│ root │ │ name │ ext │
" / home/user/dir / file .txt "
└──────┴──────────────┴──────┴─────┘
-(all spaces in the "" line should be ignored -- they're purely for formatting)
+(all spaces in the "" line should be ignored -- they are purely for formatting)
```
On Windows:
@@ -391,7 +391,7 @@ path.parse('C:\\path\\dir\\file.txt')
│ root │ │ name │ ext │
" C:\ path\dir \ file .txt "
└──────┴──────────────┴──────┴─────┘
-(all spaces in the "" line should be ignored -- they're purely for formatting)
+(all spaces in the "" line should be ignored -- they are purely for formatting)
```
A [`TypeError`][] is thrown if `path` is not a string.