summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorCorey Kosak <kosak@kosak.com>2016-03-22 17:18:02 -0400
committerMyles Borins <mborins@us.ibm.com>2016-03-30 13:14:18 -0700
commit8d86d232e7ba3c5ca626ed4712cf37c3b4fd0370 (patch)
treef9deb1c81975b36b239ef9fc9866c659e1c0684a /doc
parent42bbdc9dd176873af22cdb9552d44fd7c50fd468 (diff)
downloadnodejs-8d86d232e7ba3c5ca626ed4712cf37c3b4fd0370.tar.gz
nodejs-8d86d232e7ba3c5ca626ed4712cf37c3b4fd0370.tar.bz2
nodejs-8d86d232e7ba3c5ca626ed4712cf37c3b4fd0370.zip
doc: typo: interal->internal.
Fixes a copy typo in the events.md docs. PR-URL: https://github.com/nodejs/node/pull/5849 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/api/events.markdown4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/events.markdown b/doc/api/events.markdown
index 7b7ff57ee..500d046f9 100644
--- a/doc/api/events.markdown
+++ b/doc/api/events.markdown
@@ -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