<div class="gmail_quote">On Fri, Apr 24, 2009 at 2:43 PM, Boris Zbarsky <span dir="ltr"><<a href="mailto:bzbarsky@mit.edu">bzbarsky@mit.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div class="im">Erik Arvidsson wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I do agree that the EventTarget API is suboptimal and so are most of</blockquote></div><div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


the DOM APIs but it is what we got and we need tie the lose ends and<br>
make ends meet.<br>
</blockquote>
<br></div>
Why is the right approach to this to add addEventListener and its baggage to everything instead of adding a sane API to everything?<br><font color="#888888">
</font></blockquote><div><br></div><span class="Apple-style-span" style="border-collapse: collapse; "><div>What would be a better approach? You gain a lot from consistency and doing something that developers are already intimately familiar with. Personally, addEventListener seems good enough to me and it's already there. I'm not totally opposed to coming up with something better than addEventListener, but it's hard to argue one way or another without a counter-proposal.</div>

<div><br>Ojan </div></span></div>