summaryrefslogtreecommitdiff
path: root/doc/api/querystring.md
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2017-06-27 13:32:32 -0700
committerRich Trott <rtrott@gmail.com>2017-06-29 15:43:56 -0700
commit8969c1b76209e83f3fc3cb00a41421f7996e399b (patch)
tree60c7c29f8b49427d56218ca960b263b6f48130fa /doc/api/querystring.md
parent47d1e125ac71d065fdea9ba166bc31478a523f47 (diff)
downloadandroid-node-v8-8969c1b76209e83f3fc3cb00a41421f7996e399b.tar.gz
android-node-v8-8969c1b76209e83f3fc3cb00a41421f7996e399b.tar.bz2
android-node-v8-8969c1b76209e83f3fc3cb00a41421f7996e399b.zip
doc: fix indentation issues in sample code
In preparation for stricter ESLint indentation checking, fix a few issues in sample code. PR-URL: https://github.com/nodejs/node/pull/13950 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'doc/api/querystring.md')
-rw-r--r--doc/api/querystring.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/querystring.md b/doc/api/querystring.md
index 3727af1ef0..9216414f8a 100644
--- a/doc/api/querystring.md
+++ b/doc/api/querystring.md
@@ -81,7 +81,7 @@ in the following example:
// Assuming gbkDecodeURIComponent function already exists...
querystring.parse('w=%D6%D0%CE%C4&foo=bar', null, null,
- { decodeURIComponent: gbkDecodeURIComponent });
+ { decodeURIComponent: gbkDecodeURIComponent });
```
## querystring.stringify(obj[, sep[, eq[, options]]])
@@ -125,7 +125,7 @@ following example:
// Assuming gbkEncodeURIComponent function already exists,
querystring.stringify({ w: '中文', foo: 'bar' }, null, null,
- { encodeURIComponent: gbkEncodeURIComponent });
+ { encodeURIComponent: gbkEncodeURIComponent });
```
## querystring.unescape(str)