diff options
author | James M Snell <jasnell@gmail.com> | 2018-02-05 21:55:16 -0800 |
---|---|---|
committer | Anatoli Papirovski <apapirovski@mac.com> | 2018-02-08 11:57:14 -0500 |
commit | d3569b623ccd593c9ef62fcaf0aba2711dc7fbfa (patch) | |
tree | 643d44f1eb33c9b822fea7742d2691355d295a4c /doc/api/url.md | |
parent | 809af1fe8a0a096be4f0a3020f8e60ee1c827cbc (diff) | |
download | android-node-v8-d3569b623ccd593c9ef62fcaf0aba2711dc7fbfa.tar.gz android-node-v8-d3569b623ccd593c9ef62fcaf0aba2711dc7fbfa.tar.bz2 android-node-v8-d3569b623ccd593c9ef62fcaf0aba2711dc7fbfa.zip |
doc: remove **Note:** tags
Remove the various **Note:** prefixes throughout the docs.
PR-URL: https://github.com/nodejs/node/pull/18592
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Diffstat (limited to 'doc/api/url.md')
-rw-r--r-- | doc/api/url.md | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/api/url.md b/doc/api/url.md index 42137b4ddd..c6463d75dc 100644 --- a/doc/api/url.md +++ b/doc/api/url.md @@ -21,8 +21,8 @@ The `url` module provides two APIs for working with URLs: a legacy API that is Node.js specific, and a newer API that implements the same [WHATWG URL Standard][] used by web browsers. -*Note*: While the Legacy API has not been deprecated, it is maintained solely -for backwards compatibility with existing applications. New application code +While the Legacy API has not been deprecated, it is maintained solely for +backwards compatibility with existing applications. New application code should use the WHATWG API. A comparison between the WHATWG and Legacy APIs is provided below. Above the URL @@ -30,7 +30,7 @@ A comparison between the WHATWG and Legacy APIs is provided below. Above the URL an object returned by the legacy `url.parse()` are shown. Below it are properties of a WHATWG `URL` object. -*Note*: WHATWG URL's `origin` property includes `protocol` and `host`, but not +WHATWG URL's `origin` property includes `protocol` and `host`, but not `username` or `password`. ```txt @@ -84,7 +84,7 @@ Browser-compatible `URL` class, implemented by following the WHATWG URL Standard. [Examples of parsed URLs][] may be found in the Standard itself. The `URL` class is also available on the global object. -*Note*: In accordance with browser conventions, all properties of `URL` objects +In accordance with browser conventions, all properties of `URL` objects are implemented as getters and setters on the class prototype, rather than as data properties on the object itself. Thus, unlike [legacy urlObject][]s, using the `delete` keyword on any properties of `URL` objects (e.g. `delete @@ -122,8 +122,8 @@ const myURL = new URL('https://你好你好'); // https://xn--6qqa088eba/ ``` -*Note*: This feature is only available if the `node` executable was compiled -with [ICU][] enabled. If not, the domain names are passed through unchanged. +This feature is only available if the `node` executable was compiled with +[ICU][] enabled. If not, the domain names are passed through unchanged. #### url.hash @@ -515,9 +515,9 @@ added: v7.10.0 Instantiate a new `URLSearchParams` object with a query hash map. The key and value of each property of `obj` are always coerced to strings. -*Note*: Unlike [`querystring`][] module, duplicate keys in the form of array -values are not allowed. Arrays are stringified using [`array.toString()`][], -which simply joins all array elements with commas. +Unlike [`querystring`][] module, duplicate keys in the form of array values are +not allowed. Arrays are stringified using [`array.toString()`][], which simply +joins all array elements with commas. ```js const params = new URLSearchParams({ |