hij1nx/EventEmitter2 — Issue #39: Listeners using once and many are not able to determine the event type
Author: molnarg
Created: 2011-11-26 00:41:24+00:00
State: open

Example code:

a = new EventEmitter2()

a.once('x', function(){console.log(this.event);}) // console: undefined
a.many('x', 2, function(){console.log(this.event);}) // console: undefined
a.on('x', function(){console.log(this.event);}) // console: x

a.emit('x')