Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcjihrig <cjihrig@gmail.com>2020-05-31 23:20:20 +0300
committercjihrig <cjihrig@gmail.com>2020-06-03 00:16:42 +0300
commitd5340526fdde06653330a63b73791d81d2585636 (patch)
tree15a7c913fa312d1ca9b9a5d4ea943ef5ec27dd06 /doc/api/events.md
parentf46ca0fd29361215ac8a26cd6647dc45221eb9d7 (diff)
doc: remove "it is important"
In the spirit of #30108, remove the use of "it is important" in the new EventTarget docs. PR-URL: https://github.com/nodejs/node/pull/33678 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'doc/api/events.md')
-rw-r--r--doc/api/events.md5
1 files changed, 2 insertions, 3 deletions
diff --git a/doc/api/events.md b/doc/api/events.md
index 1f25bb44012..7423ae7adb1 100644
--- a/doc/api/events.md
+++ b/doc/api/events.md
@@ -974,9 +974,8 @@ There are two key differences between the Node.js `EventTarget` and the
The `NodeEventTarget` object implements a modified subset of the
`EventEmitter` API that allows it to closely *emulate* an `EventEmitter` in
-certain situations. It is important to understand, however, that an
-`NodeEventTarget` is *not* an instance of `EventEmitter` and cannot be used in
-place of an `EventEmitter` in most cases.
+certain situations. A `NodeEventTarget` is *not* an instance of `EventEmitter`
+and cannot be used in place of an `EventEmitter` in most cases.
1. Unlike `EventEmitter`, any given `listener` can be registered at most once
per event `type`. Attempts to register a `listener` multiple times will be