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:
authorVse Mozhet Byt <vsemozhetbyt@gmail.com>2019-09-23 16:57:03 +0300
committerRich Trott <rtrott@gmail.com>2019-09-27 08:41:45 +0300
commit008a1f6e8c99fb1889e25f1864d35ef71411b721 (patch)
tree3df2dca503b398a9f85cb24e177c637094b64b5a /doc/api/events.md
parentf81bef53984eedbf583900c3e92348b8775fca18 (diff)
doc: fix some recent nits
PR-URL: https://github.com/nodejs/node/pull/29670 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'doc/api/events.md')
-rw-r--r--doc/api/events.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/api/events.md b/doc/api/events.md
index 8d409582329..9b22d33e12c 100644
--- a/doc/api/events.md
+++ b/doc/api/events.md
@@ -709,7 +709,7 @@ The `Promise` will resolve with an array of all the arguments emitted to the
given event.
This method is intentionally generic and works with the web platform
-[EventTarget](WHATWG-EventTarget) interface, which has no special
+[EventTarget][WHATWG-EventTarget] interface, which has no special
`'error'` event semantics and does not listen to the `'error'` event.
```js
@@ -739,7 +739,8 @@ async function run() {
run();
```
-[WHATWG-EventTarget](https://dom.spec.whatwg.org/#interface-eventtarget)
+
+[WHATWG-EventTarget]: https://dom.spec.whatwg.org/#interface-eventtarget
[`--trace-warnings`]: cli.html#cli_trace_warnings
[`EventEmitter.defaultMaxListeners`]: #events_eventemitter_defaultmaxlisteners
[`domain`]: domain.html