diff options
author | cjihrig <cjihrig@gmail.com> | 2020-05-31 23:20:20 +0300 |
---|---|---|
committer | cjihrig <cjihrig@gmail.com> | 2020-06-03 00:16:42 +0300 |
commit | d5340526fdde06653330a63b73791d81d2585636 (patch) | |
tree | 15a7c913fa312d1ca9b9a5d4ea943ef5ec27dd06 /doc/api/events.md | |
parent | f46ca0fd29361215ac8a26cd6647dc45221eb9d7 (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.md | 5 |
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 |