Re: [whatwg/dom] Better way to maintain this reference on event listener functions (#245)

This is more a topic of discussion for TC39 (and has been discussed on es-discuss I believe) since it affects all callbacks.

For event listeners though if you name your event callback `handleEvent` you can just pass the object with that method to `addEventListener()`.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/245#issuecomment-217814343

Received on Monday, 9 May 2016 09:19:03 UTC