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

Re: [whatwg] Detecting eventListeners

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Thu, 24 May 2012 23:19:37 -0400
Message-ID: <4FBEFA49.9000504@mit.edu>
To: whatwg@lists.whatwg.org
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.

-Boris
Received on Friday, 25 May 2012 03:35:32 GMT

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