0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/doc/api
Vaibhav f2bd9cddee doc: update removeListener behaviour
This commit updates events doc to describe removeListener behaviour
when it is called within a listener. An example is added to make
it more evident.

A test is also incuded to make this behaviour consistent in future
releases.

Fixes: nodejs/node#4759

PR-URL: https://github.com/nodejs/node/pull/5201

Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
2016-03-13 18:43:11 +02:00
..
_toc.markdown deps: update v8 to 4.4.63.9 2015-08-04 11:56:14 -07:00
addons.markdown doc,tools,test: lint doc-based addon tests 2016-02-26 11:56:43 -08:00
all.markdown deps: update v8 to 4.4.63.9 2015-08-04 11:56:14 -07:00
assert.markdown doc: mention prototype check in deepStrictEqual() 2016-02-23 09:17:11 -05:00
buffer.markdown doc: document base64url encoding support 2016-02-27 14:23:06 +01:00
child_process.markdown doc: fix typo in child_process docs 2016-03-13 14:10:02 +02:00
cluster.markdown doc: add missing property in cluster example 2016-02-27 14:04:51 +01:00
console.markdown doc: improvements to console.markdown copy 2016-02-17 23:51:30 +01:00
crypto.markdown doc: fix markdown links 2016-03-10 14:09:26 +01:00
debugger.markdown doc: replace function expressions with arrows 2016-01-27 23:00:20 +01:00
dgram.markdown dgram: default send address to 127.0.0.1 or ::1 2016-03-05 19:20:31 +01:00
dns.markdown doc: fix dns.resolveCname description typo 2016-03-10 02:16:36 +01:00
documentation.markdown doc: add info to docs on how to submit docs patch 2016-03-07 11:25:15 -08:00
domain.markdown doc: fix type references for link gen, link css 2016-02-09 13:12:21 +01:00
errors.markdown doc: fix markdown links 2016-03-10 14:09:26 +01:00
events.markdown doc: update removeListener behaviour 2016-03-13 18:43:11 +02:00
fs.markdown doc: fix typo in fs.symlink 2016-03-07 09:46:00 +01:00
globals.markdown doc: proper markdown escaping -> \_\_, \*, \_ 2016-01-22 21:32:50 -08:00
http.markdown doc: fix markdown links 2016-03-10 14:09:26 +01:00
https.markdown doc: minor improvement to HTTPS doc 2016-02-01 09:14:42 -08:00
index.markdown Remove util.print from docs 2010-11-07 17:22:56 -08:00
modules.markdown doc: require behavior on case-insensitive systems 2016-02-27 14:33:51 +01:00
net.markdown doc: fix relative links in net docs 2016-02-27 14:13:39 +01:00
os.markdown doc: minor improvement in OS docs 2016-02-04 19:25:07 +01:00
path.markdown doc: proper markdown escaping -> \_\_, \*, \_ 2016-01-22 21:32:50 -08:00
process.markdown doc: include typo in 'unhandledRejection' example 2016-03-12 14:59:52 -03:00
punycode.markdown doc: fenced all code blocks, typo fixes 2016-01-21 20:55:09 +01:00
querystring.markdown doc: fenced all code blocks, typo fixes 2016-01-21 20:55:09 +01:00
readline.markdown doc: don't use "interface" as a variable name 2016-01-30 00:33:14 +01:00
repl.markdown repl: accept no arguments to start() 2016-02-25 08:48:43 -05:00
stream.markdown doc: add note for binary safe string reading 2016-02-29 11:08:45 +01:00
string_decoder.markdown doc: fenced all code blocks, typo fixes 2016-01-21 20:55:09 +01:00
synopsis.markdown doc: harmonize $ node command line notation 2016-01-22 19:57:19 +01:00
timers.markdown timers: fail early when callback is not a function 2016-01-04 14:56:19 +11:00
tls.markdown doc: fix links in tls, cluster docs 2016-02-27 14:00:53 +01:00
tty.markdown doc: fenced all code blocks, typo fixes 2016-01-21 20:55:09 +01:00
url.markdown doc: fenced all code blocks, typo fixes 2016-01-21 20:55:09 +01:00
util.markdown doc: copyedit util doc 2016-02-25 13:27:47 -08:00
v8.markdown doc: update V8 URL 2016-03-02 23:22:29 +01:00
vm.markdown vm: fix produceCachedData 2016-02-21 14:59:35 -05:00
zlib.markdown doc: replace function expressions with arrows 2016-01-27 23:00:20 +01:00