Skip to content

Commit

Permalink
doc: fix events typo
Browse files Browse the repository at this point in the history
This commit removes an extraneous word.

PR-URL: #7329
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Brian White <mscdex@mscdex.net>
  • Loading branch information
greysonp authored and Myles Borins committed Jul 14, 2016
1 parent 8724c44 commit c9ef04a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/events.md
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ added for a particular event. This is a useful default that helps finding
memory leaks. Obviously, not all events should be limited to just 10 listeners.
The `emitter.setMaxListeners()` method allows the limit to be modified for this
specific `EventEmitter` instance. The value can be set to `Infinity` (or `0`)
for to indicate an unlimited number of listeners.
to indicate an unlimited number of listeners.

Returns a reference to the `EventEmitter` so calls can be chained.

Expand Down

0 comments on commit c9ef04a

Please sign in to comment.