Commit Graph

8 Commits

Author SHA1 Message Date
TJ Holowaychuk
fac5f45e30 add .off() support. Closes #19
thought we had this already :D
2013-02-26 14:38:16 -08:00
TJ Holowaychuk
2c6aa090f4 fix Emitter.call(this) usage 2012-09-07 14:32:52 -07:00
TJ Holowaychuk
b251af60b6 add mixin support via Emitter(obj). Closes #5 2012-09-05 22:07:23 -07:00
TJ Holowaychuk
bcb45a5817 change .has to .hasListeners
as per guillermo request, which makes sense! inheriting
from emitter and then overriding .has with your own thing
could potentially suck
2012-07-11 20:01:40 -07:00
Guillermo Rauch
591f069f01 Added failing test 2012-06-28 18:39:10 -07:00
TJ Holowaychuk
bf6f07abc9 added test for emitter.once() and .off() 2012-05-21 21:28:42 -03:00
TJ Holowaychuk
05d95f0470 Added Emitter#has(event) 2012-05-10 10:15:18 -07:00
TJ Holowaychuk
872de89f6c Added tests 2012-05-03 10:41:42 -07:00