github primus/eventemitter3 0.1.0
Context and Fixes

latest releases: 5.0.1, 5.0.0, 4.0.7...
11 years ago

First, a new feature. I've added support for context based emits by adding a third context param to on and once as illustrated by this example:

var e = new EventEmitter();

e.on('event', function () {
  this === context
}, context);

In addition to that, I've detected a critical bug that cause the complete events object to be erased when one of the events was added using .once.

Don't miss a new eventemitter3 release

NewReleases is sending notifications on new releases.