Skip to content

Commit 1e4edd8

Browse files
cjihrigcodebytere
authored andcommitted
doc: remove "it is important"
In the spirit of #30108, remove the use of "it is important" in the new EventTarget docs. PR-URL: #33678 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Juan José Arboleda <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]>
1 parent 7ad6cfa commit 1e4edd8

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

doc/api/events.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -974,9 +974,8 @@ There are two key differences between the Node.js `EventTarget` and the
974974

975975
The `NodeEventTarget` object implements a modified subset of the
976976
`EventEmitter` API that allows it to closely *emulate* an `EventEmitter` in
977-
certain situations. It is important to understand, however, that an
978-
`NodeEventTarget` is *not* an instance of `EventEmitter` and cannot be used in
979-
place of an `EventEmitter` in most cases.
977+
certain situations. A `NodeEventTarget` is *not* an instance of `EventEmitter`
978+
and cannot be used in place of an `EventEmitter` in most cases.
980979

981980
1. Unlike `EventEmitter`, any given `listener` can be registered at most once
982981
per event `type`. Attempts to register a `listener` multiple times will be

0 commit comments

Comments
 (0)