Re: Adding an interface to provide a list of listeners

Anne van Kesteren <[email protected]>
Newsgroups gmane.comp.web.dom.general
Message-ID <CADnb78ivHQUJQhx6cHWoDej3jm+yVsZoOqfvi8i4uKpxu=eOPQ@mail.gmail.com>
On Mon, Jul 28, 2014 at 3:12 AM, Tab Atkins Jr. <[email protected]> wrote:
> Yeah, probably better to add an optional "namespacing" string to
> addEventListener, and then removeEventListener can kill all listeners
> with the same namespace string.  (Allow Symbols as well as strings,
> and you safeguard UA listeners without magic.)

See https://gist.github.com/annevk/5238964 for the last time I
sketched something along these lines.


-- 
http://annevankesteren.nl/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.