diff options
author | Jeremiah Senkpiel <fishrock123@rocketmail.com> | 2015-09-02 12:23:49 -0400 |
---|---|---|
committer | Rod Vagg <rod@vagg.org> | 2015-09-06 21:38:00 +1000 |
commit | 46b7d151674d138e7ea4342d5f3ada1208b87ff2 (patch) | |
tree | b8fdfd164dc92deec15f4a6a7216f95b678a7302 /deps/v8/test/mjsunit/es6/regress/regress-2506.js | |
parent | 6ed0603fb1d2cd3b6c6406709514622e9545fb82 (diff) | |
download | node-new-46b7d151674d138e7ea4342d5f3ada1208b87ff2.tar.gz |
events,lib: don't require EE#listenerCount()
Now parts of our public and public-ish APIs fall back to old-style
listenerCount() if the emitter does not have a listenerCount function.
Fixes: https://github.com/nodejs/node/issues/2655
Refs: 8f58fb92fff904a6ca58fd0df9ee5a1816e5b84e
PR-URL: https://github.com/nodejs/node/pull/2661
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'deps/v8/test/mjsunit/es6/regress/regress-2506.js')
0 files changed, 0 insertions, 0 deletions