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 evanlucas committed Jun 27, 2016
1 parent ac8e1bf commit 1a0ed26
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 @@ -497,7 +497,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 1a0ed26

Please sign in to comment.