Skip to content

Commit

Permalink
doc: remove "currently" from events.md
Browse files Browse the repository at this point in the history
PR-URL: #33756
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
  • Loading branch information
Trott authored and codebytere committed Jun 30, 2020
1 parent f964f2f commit 328ffb6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions doc/api/events.md
Original file line number Diff line number Diff line change
Expand Up @@ -944,7 +944,7 @@ added: REPLACEME
The `EventTarget` and `Event` objects are a Node.js-specific implementation
of the [`EventTarget` Web API][] that are exposed by some Node.js core APIs.
Neither the `EventTarget` nor `Event` classes are currently available for end
Neither the `EventTarget` nor `Event` classes are available for end
user code to create.

```js
Expand Down Expand Up @@ -1099,15 +1099,15 @@ added: REPLACEME
-->

Returns an array containing the current `EventTarget` as the only entry or
empty if the event is not currently being dispatched. This is not used in
empty if the event is not being dispatched. This is not used in
Node.js and is provided purely for completeness.

#### `event.currentTarget`
<!-- YAML
added: REPLACEME
-->

* Type: {EventTarget} The `EventTarget` currently dispatching the event.
* Type: {EventTarget} The `EventTarget` dispatching the event.

Alias for `event.target`.

Expand Down Expand Up @@ -1161,7 +1161,7 @@ This is not used in Node.js and is provided purely for completeness.
added: REPLACEME
-->

* Type: {EventTarget} The `EventTarget` currently dispatching the event.
* Type: {EventTarget} The `EventTarget` dispatching the event.

Alias for `event.target`.

Expand All @@ -1184,7 +1184,7 @@ This is not used in Node.js and is provided purely for completeness.
added: REPLACEME
-->

* Type: {EventTarget} The `EventTarget` currently dispatching the event.
* Type: {EventTarget} The `EventTarget` dispatching the event.

#### `event.timeStamp`
<!-- YAML
Expand Down Expand Up @@ -1310,7 +1310,7 @@ added: REPLACEME
* Returns: {string[]}

Node.js-specific extension to the `EventTarget` class that returns an array
of event `type` names for which event listeners are currently registered.
of event `type` names for which event listeners are registered.

#### `nodeEventTarget.listenerCount(type)`
<!-- YAML
Expand Down

0 comments on commit 328ffb6

Please sign in to comment.