Function type

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