W3C home > Mailing lists > Public > public-webapi@w3.org > April 2006

Re: DOM3EV: Editorial comments

From: Cameron McCormack <cam@mcc.id.au>
Date: Thu, 20 Apr 2006 22:26:48 +1000
To: public-webapi@w3.org
Message-ID: <20060420122648.GA4728@port.mcc.id.au>

Robin Berjon:
> It's the other way around in fact, the EventListener is mapped to  
> Function

Surely mapping things to an EventListener interface, which is meant to
be language independent construct, is more sensible than mapping
everything to ES Function objects, something that is language specific.

This also wouldn't scale to any interface that requires more than one
method to be implemented on it.

> (and currently, not give a handleEvent member, though I  
> think it would be better to have one pointing back to the object  
> itself, for compatibility with at least ASV and possibly other SVG UAs).

So that it actually implements EventListener? :)

-- 
 Cameron McCormack			ICQ: 26955922
 cam (at) mcc.id.au			MSN: cam (at) mcc.id.au
 http://mcc.id.au/			JBR: heycam (at) jabber.org
Received on Thursday, 20 April 2006 12:26:57 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:18:54 GMT