diff options
author | yorkie <yorkiefixer@gmail.com> | 2016-09-11 14:23:35 +0800 |
---|---|---|
committer | yorkie <yorkiefixer@gmail.com> | 2016-09-15 14:19:00 +0800 |
commit | 68bf02d437ca1b0754294c9250c2f41d609c6e53 (patch) | |
tree | 86c29ffb575be28363c0ace04b45b476d4dc6ada /doc/api/url.md | |
parent | 5ce117bab08fad4e5226ee4d42c9d64621cc3c90 (diff) | |
download | android-node-v8-68bf02d437ca1b0754294c9250c2f41d609c6e53.tar.gz android-node-v8-68bf02d437ca1b0754294c9250c2f41d609c6e53.tar.bz2 android-node-v8-68bf02d437ca1b0754294c9250c2f41d609c6e53.zip |
doc: capitalize arguments' type names in url doc
PR-URL: https://github.com/nodejs/node/pull/8489
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'doc/api/url.md')
-rw-r--r-- | doc/api/url.md | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/api/url.md b/doc/api/url.md index 1c29b81eb1..d318923c68 100644 --- a/doc/api/url.md +++ b/doc/api/url.md @@ -202,12 +202,12 @@ The formatting process operates as follows: added: v0.1.25 --> -* `urlString` {string} The URL string to parse. -* `parseQueryString` {boolean} If `true`, the `query` property will always +* `urlString` {String} The URL string to parse. +* `parseQueryString` {Boolean} If `true`, the `query` property will always be set to an object returned by the [`querystring`][] module's `parse()` method. If `false`, the `query` property on the returned URL object will be an unparsed, undecoded string. Defaults to `false`. -* `slashesDenoteHost` {boolean} If `true`, the first token after the literal +* `slashesDenoteHost` {Boolean} If `true`, the first token after the literal string `//` and preceding the next `/` will be interpreted as the `host`. For instance, given `//foo/bar`, the result would be `{host: 'foo', pathname: '/bar'}` rather than `{pathname: '//foo/bar'}`. @@ -221,8 +221,8 @@ object. added: v0.1.25 --> -* `from` {string} The Base URL being resolved against. -* `to` {string} The HREF URL being resolved. +* `from` {String} The Base URL being resolved against. +* `to` {String} The HREF URL being resolved. The `url.resolve()` method resolves a target URL relative to a base URL in a manner similar to that of a Web browser resolving an anchor tag HREF. |