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-06-06 23:42:35 +0300
committercjihrig <cjihrig@gmail.com>2020-06-09 04:25:25 +0300
commit2e49010bc8f2d05f6b0eca66bd9fca08cb5745a5 (patch)
tree5d5c678af546c7affb607c5a48da8c5c16dcb066 /doc/api/events.md
parent4ba90809edec189a2c4662258ef6cadb9d9620b4 (diff)
doc: make events Extends usage consistent
The docs use `* Extends: {type}` to define inheritance. This commit updates the events documentation to be consistent. PR-URL: https://github.com/nodejs/node/pull/33777 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Diffstat (limited to 'doc/api/events.md')
-rw-r--r--doc/api/events.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/api/events.md b/doc/api/events.md
index 7b641138953..9ceee6a30bf 100644
--- a/doc/api/events.md
+++ b/doc/api/events.md
@@ -1277,11 +1277,13 @@ added: REPLACEME
Removes the `listener` from the list of handlers for event `type`.
-### Class: `NodeEventTarget extends EventTarget`
+### Class: `NodeEventTarget`
<!-- YAML
added: REPLACEME
-->
+* Extends: {EventTarget}
+
The `NodeEventTarget` is a Node.js-specific extension to `EventTarget`
that emulates a subset of the `EventEmitter` API.