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 evanlucas committed Mar 31, 2016
1 parent 5676a35 commit 858a524
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 @@ -402,14 +402,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 858a524

Please sign in to comment.