Commit Graph

1 Commits (74ef94907277d8aa29d23cef29aee25161960376)

Author SHA1 Message Date
Joe Andaverde 20e12e4be3 events: make .listeners() return a copy
Make EventEmitter.listeners(event) return a copy of the listeners array instead
of the array itself.

Fixes #3442.
2012-07-27 20:28:51 +02:00