Skip to content

Commit

Permalink
doc: typo: interal->internal.
Browse files Browse the repository at this point in the history
Fixes a copy typo in the events.md docs.

PR-URL: #5849
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
kosak authored and benjamingr committed Mar 22, 2016
1 parent cd9f54b commit e301f97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/api/events.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -418,14 +418,14 @@ myEmitter.on('event', callbackA);
myEmitter.on('event', callbackB);

// callbackA removes listener callbackB but it will still be called.
// Interal listener array at time of emit [callbackA, callbackB]
// Internal listener array at time of emit [callbackA, callbackB]
myEmitter.emit('event');
// Prints:
// A
// B

// callbackB is now removed.
// Interal listener array [callbackA]
// Internal listener array [callbackA]
myEmitter.emit('event');
// Prints:
// A
Expand Down

0 comments on commit e301f97

Please sign in to comment.