tildeio/rsvp.js — pull request #5 by alassek (2012-10-17 09:42:26+00:00)
Title: EventTarget: set handler for multiple events at once

This is a simple change to EventTarget that allows you to bind & unbind a handler function to multiple events at once. Event names are separated with a space:

```javascript
function Foo() {};
RSVP.EventTarget.mixin(Foo.prototype);

var foo = new Foo();

foo.on("bar baz", function(event) {
console.log("something happened!");
});

foo.trigger("foo");
foo.trigger("bar");

foo.off("foo bar");
```

This passes the existing test suite. If you're interested in merging this, I'd be happy to add tests & documentation for the additional functionality but I need some guidance as to how you plan on adding tests to this project.