Re: Function type

Marcos Caceres:
> 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

I don't think more specs should depend on the definition of Function 
that's in HTML, since it's kind of non-specific and designed to work 
with the weirdo timer APIs.  We have callbacks in Web IDL now, and specs 
that need them should define more specific signatures to use.

Received on Wednesday, 28 December 2011 06:22:12 UTC