Re: Better event listeners

On Mon, Jan 7, 2013 at 6:18 PM, Jake Verbaten <raynos2@gmail.com> wrote:
> Emphasis being on that `.on(...)` returns some kind of token that can be
> used to remove the listener so we don't have to keep a reference to the
> listener ourself somewhere.

I think that makes a lot of sense. I like the idea of just returning a
function reference.


> The other emphasis is that delegation filtering supports arbitrary functions
> which allows people to delegate  whatever they want instead of a limited
> string based DSL

What are the use cases beyond selector-based filtering?


-- 
http://annevankesteren.nl/

Received on Tuesday, 8 January 2013 11:23:37 UTC