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

Re: Function type

From: Cameron McCormack <cam@mcc.id.au>
Date: Wed, 28 Dec 2011 17:21:35 +1100
Message-ID: <4EFAB56F.6060901@mcc.id.au>
To: Marcos Caceres <marcosscaceres@gmail.com>
CC: public-script-coord <public-script-coord@w3.org>
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

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