Commit Graph

1 Commits (74d076caf1837ddacae0f7cd5d9e6ee0b47d63d2)

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