From 82ba1839fb8956948a3a64f47735f7c504a819b0 Mon Sep 17 00:00:00 2001 From: Anne-Gaelle Colom Date: Wed, 9 Sep 2015 11:40:46 +0100 Subject: [PATCH] doc: use 3rd person singular for consistency MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/2765 Reviewed-By: Michaƫl Zasso Reviewed-By: Rich Trott --- doc/api/events.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api/events.markdown b/doc/api/events.markdown index b9501632b205be..75571c729bfaf9 100644 --- a/doc/api/events.markdown +++ b/doc/api/events.markdown @@ -62,7 +62,7 @@ Returns emitter, so calls can be chained. ### emitter.removeListener(event, listener) -Remove a listener from the listener array for the specified event. +Removes a listener from the listener array for the specified event. **Caution**: changes array indices in the listener array behind the listener. var callback = function(stream) { @@ -132,7 +132,7 @@ Returns a copy of the array of listeners for the specified event. ### emitter.emit(event[, arg1][, arg2][, ...]) -Execute each of the listeners in order with the supplied arguments. +Executes each of the listeners in order with the supplied arguments. Returns `true` if event had listeners, `false` otherwise.