Re: [whatwg/dom] Define a "has listeners for" algorithm on EventTarget (#660)

annevk commented on this pull request.

Thanks, this looks pretty good, but I would phrase it a little differently:

"An EventTarget object _target_ is said to have a listener for _type_ if _target_'s event listener list contains an event listener whose type is _type_."

I think something along those lines is probably sufficient here. (To figure out what linking text to allow we might want to look at the phrasing for future callers in advance, too.)



-- 
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/pull/660#pullrequestreview-141890810

Received on Tuesday, 31 July 2018 10:25:16 UTC