Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 858a524

Browse filesBrowse files
kosakevanlucas
authored andcommitted
doc: typo: interal->internal.
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>
1 parent 5676a35 commit 858a524
Copy full SHA for 858a524

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Collapse file

‎doc/api/events.markdown‎

Copy file name to clipboardExpand all lines: doc/api/events.markdown
+2-2Lines changed: 2 additions & 2 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -402,14 +402,14 @@ myEmitter.on('event', callbackA);
402402
myEmitter.on('event', callbackB);
403403

404404
// callbackA removes listener callbackB but it will still be called.
405-
// Interal listener array at time of emit [callbackA, callbackB]
405+
// Internal listener array at time of emit [callbackA, callbackB]
406406
myEmitter.emit('event');
407407
// Prints:
408408
// A
409409
// B
410410

411411
// callbackB is now removed.
412-
// Interal listener array [callbackA]
412+
// Internal listener array [callbackA]
413413
myEmitter.emit('event');
414414
// Prints:
415415
// A

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.