Browse Source

doc: use 3rd person singular for consistency

PR-URL: https://github.com/nodejs/node/pull/2765
Reviewed-By: Michaël Zasso <mic.besace@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
v5.x
Anne-Gaelle Colom 10 years ago
committed by Rich Trott
parent
commit
d2f70fee13
  1. 4
      doc/api/events.markdown

4
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.

Loading…
Cancel
Save