From: Steven Vercruysse Date: Sun, 15 Mar 2015 11:29:18 +0000 (+0100) Subject: doc: fix '\\' typos on Windows X-Git-Tag: v1.6.0~25 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e6e616fdcb7e21a347fa6b5a3df6ef5c6f18c586;p=platform%2Fupstream%2Fnodejs.git doc: fix '\\' typos on Windows This commit changes the Windows examples in path.markdown to correctly display '\\'. PR-URL: https://github.com/joyent/node/pull/9412 Reviewed-By: Colin Ihrig --- diff --git a/doc/api/path.markdown b/doc/api/path.markdown index 6b10d1c..08495a7 100644 --- a/doc/api/path.markdown +++ b/doc/api/path.markdown @@ -200,7 +200,7 @@ An example on Windows: process.env.PATH.split(path.delimiter) // returns - ['C:\Windows\system32', 'C:\Windows', 'C:\Program Files\iojs\'] + ['C:\\Windows\\system32', 'C:\\Windows', 'C:\\Program Files\\iojs\\'] ## path.parse(pathString) @@ -223,8 +223,8 @@ An example on Windows: path.parse('C:\\path\\dir\\index.html') // returns { - root : "C:\", - dir : "C:\path\dir", + root : "C:\\", + dir : "C:\\path\\dir", base : "index.html", ext : ".html", name : "index"