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

Function type

From: Marcos Caceres <marcosscaceres@gmail.com>
Date: Fri, 18 Nov 2011 18:46:19 +0100
To: public-script-coord <public-script-coord@w3.org>
Message-ID: <6B07EAA37144488DBCEC0035B73EF3D0@gmail.com>
Had the following discussion on IRC, but wanted to follow up hereā€¦. See if we can come to some agreement or leave it as is.  

1:46 Marcos
In WebIDL, can you please add Function as a type. More specs are going to make use of it and it would be good not to have a dependency on HTML5 (or having to copy and paste it all the time from HTML5 to break the depedency). Seehttp://www.whatwg.org/specs/web-apps/current-work/#function
Also, HTML5 can then just point to WebiIDL for the definition of Function

2:02 anne
if you want it for event listeners
you are stuck
because you cannot define event handlers (did not mean listeners) with just Function

Received on Friday, 18 November 2011 17:46:53 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:37:45 UTC