* Mixin the emitter properties. * * @param {Object} obj * @return {Object} * @api private
(obj)
| 2703 | */ |
| 2704 | |
| 2705 | function mixin(obj) { |
| 2706 | for (var key in Emitter.prototype) { |
| 2707 | obj[key] = Emitter.prototype[key]; |
| 2708 | } |
| 2709 | return obj; |
| 2710 | } |
| 2711 | |
| 2712 | /** |
| 2713 | * Listen on the given `event` with `fn`. |