From 1e4edd8d75567b6536bf883b5b7952cb9b72d093 Mon Sep 17 00:00:00 2001 From: cjihrig Date: Sun, 31 May 2020 16:20:20 -0400 Subject: [PATCH] doc: remove "it is important" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-By: Anna Henningsen Reviewed-By: Luigi Pinca Reviewed-By: Juan José Arboleda Reviewed-By: Ruben Bridgewater --- doc/api/events.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/doc/api/events.md b/doc/api/events.md index ed13d3f5e84757..e26f508b308c9e 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