diff options
author | Vse Mozhet Byt <vsemozhetbyt@gmail.com> | 2019-10-01 18:57:09 +0300 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2019-10-03 23:59:40 +0300 |
commit | d5882a95449b7970a9c928a3e6076e09c019212a (patch) | |
tree | f4b446a99b97d59d69edd6690b0168e29e53ba48 /doc/api/events.md | |
parent | 4fa1744e1108c34c5cdfba99249346830bb9cbe7 (diff) |
doc: unify place of stability notes
In most cases, stability note is the first info in a doc section
after YAML. This PR makes it consistent across all docs,
as this info seems the most relevant for a reader.
PR-URL: https://github.com/nodejs/node/pull/29799
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: David Carlier <devnexen@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'doc/api/events.md')
-rw-r--r-- | doc/api/events.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/events.md b/doc/api/events.md index 9b22d33e12c..608d7d09e04 100644 --- a/doc/api/events.md +++ b/doc/api/events.md @@ -229,11 +229,11 @@ added: v0.9.12 deprecated: v4.0.0 --> +> Stability: 0 - Deprecated: Use [`emitter.listenerCount()`][] instead. + * `emitter` {EventEmitter} The emitter to query * `eventName` {string|symbol} The event name -> Stability: 0 - Deprecated: Use [`emitter.listenerCount()`][] instead. - A class method that returns the number of listeners for the given `eventName` registered on the given `emitter`. |