Re: [whatwg/dom] [Proposal] Add EventTarget.getEventListeners() (#412)

> I can defend against wrapping addEventListener by caching it in first-run code.

If you're writing a library, you don't control whether your library is first-run code, so tough luck. If you're not writing a library, then what's the point of defending anything? You control exactly what runs.

-- 
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/412#issuecomment-280724161

Received on Friday, 17 February 2017 18:12:14 UTC