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 <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
kosak authored and Myles Borins committed Mar 30, 2016
1 parent dc2b165 commit df3a543
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 df3a543

Please sign in to comment.