W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2012

Re: [whatwg] Detecting eventListeners

From: Xavier Ho <contact@xavierho.com>
Date: Fri, 25 May 2012 13:36:40 +1000
Message-ID: <CALWePYw0CtXWUnmk8OxmdJWBJ6eWgOUvYMhgHcjCYdKFkAiLSQ@mail.gmail.com>
To: Boris Zbarsky <bzbarsky@mit.edu>
Cc: whatwg@lists.whatwg.org
On 25 May 2012 13:19, Boris Zbarsky <bzbarsky@mit.edu> wrote:

> On 5/24/12 11:00 PM, Xavier Ho wrote:
>
>>  The door's already open.  You simply have to iterate through all the
>> nodes, and call removeEventListener with all possible events.
>>
>
> No.  removeEventListener needs the actual object that was passed to
> addEventListener to remove the listener.
>
> I stand corrected.

Cheers,
Xav
Received on Friday, 25 May 2012 03:37:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:48:08 GMT