W3C home > Mailing lists > Public > public-script-coord@w3.org > October to December 2011

[WebIDL] Simplify callbacks

From: Anne van Kesteren <annevk@opera.com>
Date: Tue, 08 Nov 2011 07:47:59 -0700
To: "public-script-coord@w3.org" <public-script-coord@w3.org>
Message-ID: <op.v4mwt9vv64w2qv@annevk-macbookpro.local>
It seems that all callbacks use handleEvent() and we cannot change that at  
this point I think. We should simplify callback syntax to a) make IDL  
easier to read and b) ensure consistency throughout the platform.

addEventListener(DOMString type, Callback(Event)? listener, optional  
boolean capture)


-- 
Anne van Kesteren
http://annevankesteren.nl/
Received on Tuesday, 8 November 2011 15:48:31 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 May 2013 19:30:04 UTC