How to use the EventTarget function from rsvp

Find comprehensive JavaScript rsvp.EventTarget code examples handpicked from public code repositorys.

161
162
163
164
165
166
167
168
169

`EventTarget.mixin` also works with prototypes:

```javascript
var Person = function() {};
RSVP.EventTarget.mixin(Person.prototype);

var yehuda = new Person();
var tom = new Person();
fork icon3
star icon4
watch icon5

+ 5 other calls in file