-
Notifications
You must be signed in to change notification settings - Fork 24.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
EventEmitter: Replace
listeners()
with listenerCount()
Summary: Replaces the `listeners()` method on `EventEmitter` with a `listenerCount()` method. Changelog: [General][Removed] - Removed `listeners()` from `DeviceEventEmitter` and `NativeEventEmitter`. [General][Added] - Added `listenerCount()` to `DeviceEventEmitter` and `NativeEventEmitter`. Reviewed By: cpojer Differential Revision: D22204156 fbshipit-source-id: 15029525aeef55de9934a4f319910e666ecbe1d8
- Loading branch information
1 parent
b265561
commit b11d6ec
Showing
2 changed files
with
10 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters