summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyuichi Okumura <okuryu@okuryu.com>2015-03-10 20:46:59 +0900
committerJeremiah Senkpiel <fishrock123@rocketmail.com>2015-03-10 09:37:31 -0400
commit684a5878b6b010eb07446d4920444bccd498740d (patch)
treef9949f7893e40167604f6cbf7ab3a15bdff5e04c
parent8431fc53f10b3347223fb13523831e38e0ce8015 (diff)
downloadnode-new-684a5878b6b010eb07446d4920444bccd498740d.tar.gz
doc: fix missing periods in url.markdown
PR-URL: https://github.com/iojs/io.js/pull/1115 Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
-rw-r--r--doc/api/url.markdown8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/api/url.markdown b/doc/api/url.markdown
index 51fdb7ec3d..3931e8d08e 100644
--- a/doc/api/url.markdown
+++ b/doc/api/url.markdown
@@ -19,7 +19,7 @@ string will not be in the parsed object. Examples are shown for the URL
Example: `'http:'`
-* `slashes`: The protocol requires slashes after the colon
+* `slashes`: The protocol requires slashes after the colon.
Example: true or false
@@ -89,14 +89,14 @@ Here's how the formatting process works:
* The protocols `http`, `https`, `ftp`, `gopher`, `file` will be
postfixed with `://` (colon-slash-slash).
* All other protocols `mailto`, `xmpp`, `aim`, `sftp`, `foo`, etc will
- be postfixed with `:` (colon)
+ be postfixed with `:` (colon).
* `slashes` set to `true` if the protocol requires `://` (colon-slash-slash)
* Only needs to be set for protocols not previously listed as requiring
- slashes, such as `mongodb://localhost:8000/`
+ slashes, such as `mongodb://localhost:8000/`.
* `auth` will be used if present.
* `hostname` will only be used if `host` is absent.
* `port` will only be used if `host` is absent.
-* `host` will be used in place of `hostname` and `port`
+* `host` will be used in place of `hostname` and `port`.
* `pathname` is treated the same with or without the leading `/` (slash).
* `query` (object; see `querystring`) will only be used if `search` is absent.
* `search` will be used in place of `query`.