Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions doc/api/events.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While you're at it ... Calls?


Returns `true` if event had listeners, `false` otherwise.

Expand Down