[whatwg] Exposing EventTarget to JavaScript
Erik Arvidsson
erik.arvidsson at gmail.com
Fri Apr 24 12:47:40 PDT 2009
On Fri, Apr 24, 2009 at 11:46, Boris Zbarsky <bzbarsky at mit.edu> wrote:
> It's not really clear to me what the benefits of using the (rather
> suboptimal, from the JS point of view) DOM EventTarget API for generic JS
> callback dispatch are.
One of the benefits is a consistent API.
I do agree that the EventTarget API is suboptimal and so are most of
the DOM APIs but it is what we got and we need tie the lose ends and
make ends meet.
--
erik
More information about the whatwg
mailing list