Browse Source

doc: fix events typo

This commit removes an extraneous word.

PR-URL: https://github.com/nodejs/node/pull/7329
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Brian White <mscdex@mscdex.net>
v7.x
Greyson Parrelli 9 years ago
committed by Colin Ihrig
parent
commit
62a858c60f
  1. 2
      doc/api/events.md

2
doc/api/events.md

@ -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. 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 The `emitter.setMaxListeners()` method allows the limit to be modified for this
specific `EventEmitter` instance. The value can be set to `Infinity` (or `0`) 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. Returns a reference to the `EventEmitter` so calls can be chained.

Loading…
Cancel
Save