diff options
author | Jeremiah Senkpiel <fishrock123@rocketmail.com> | 2016-05-27 15:15:25 -0400 |
---|---|---|
committer | Jeremiah Senkpiel <fishrock123@rocketmail.com> | 2016-05-31 10:28:14 -0400 |
commit | 0cc903544df7759b50056487b528426f1fce08d8 (patch) | |
tree | 0e82885e7dbe9e9d43e7e7797a30db46c5138a47 /doc/api/url.md | |
parent | 67368d8553977a281f778a144de9b0a75bc17f90 (diff) | |
download | android-node-v8-0cc903544df7759b50056487b528426f1fce08d8.tar.gz android-node-v8-0cc903544df7759b50056487b528426f1fce08d8.tar.bz2 android-node-v8-0cc903544df7759b50056487b528426f1fce08d8.zip |
doc: addresses nits in string_decoder, url, util
- Only `@@toStringTag` affects `util.isError()`, this is the reason why
it uses `Object.prototype.toString.call(argument)` under the hood.
- Shows an actual Euro symbol for reference.
- Uses line-drawing characters for the URL chart & fixes the chart
borders.
PR-URL: https://github.com/nodejs/node/pull/7026
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Diffstat (limited to 'doc/api/url.md')
-rw-r--r-- | doc/api/url.md | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/doc/api/url.md b/doc/api/url.md index d269927280..c041f9bd8f 100644 --- a/doc/api/url.md +++ b/doc/api/url.md @@ -20,17 +20,17 @@ The following details each of the components of a parsed URL. The example illustrate each. ``` -+---------------------------------------------------------------------------+ -| href | -+----------++-----------+-----------------+-------------------------+-------+ -| protocol || auth | host | path | hash | -| || +----------+------+----------+--------------+ | -| || | hostname | port | pathname | search | | -| || | | | +-+------------+ | -| || | | | | | query | | -" http: // user:pass @ host.com : 8080 /p/a/t/h ? query=string #hash " -| || | | | | | | | -+----------++-----------+-----------+------+----------+-+-----------+-------+ +┌─────────────────────────────────────────────────────────────────────────────┐ +│ href │ +├──────────┬┬───────────┬─────────────────┬───────────────────────────┬───────┤ +│ protocol ││ auth │ host │ path │ hash │ +│ ││ ├──────────┬──────┼──────────┬────────────────┤ │ +│ ││ │ hostname │ port │ pathname │ search │ │ +│ ││ │ │ │ ├─┬──────────────┤ │ +│ ││ │ │ │ │ │ query │ │ +" http: // user:pass @ host.com : 8080 /p/a/t/h ? query=string #hash " +│ ││ │ │ │ │ │ │ │ +└──────────┴┴───────────┴──────────┴──────┴──────────┴─┴──────────────┴───────┘ (all spaces in the "" line should be ignored -- they're purely for formatting) ``` |