W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2011

Re: [DOMCore] Making event initializing easier

From: Ian Hickson <ian@hixie.ch>
Date: Mon, 27 Jun 2011 18:34:39 +0000 (UTC)
To: Anne van Kesteren <annevk@opera.com>
cc: Cameron McCormack <cam@mcc.id.au>, "www-dom@w3.org" <www-dom@w3.org>
Message-ID: <Pine.LNX.4.64.1106271834120.20871@ps20323.dreamhostps.com>
On Mon, 27 Jun 2011, Anne van Kesteren wrote:
> On Sun, 26 Jun 2011 19:35:46 +0200, Ian Hickson <ian@hixie.ch> wrote:
> > Essentially, what I described can be viewed as an "internal concept": 
> > it defines the attributes as each having an "initialised" value. 
> > They're just not explicitly named.
> 
> Fair enough, done:
> 
> http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#interface-event
> 
> Now all you need to do is define the constructor in the IDL, the 
> initialization dictionary in the IDL, and define the constructor as 
> "XXXEvent(type, eventInitDict) is an /event constructor/." in prose.

Sweet! That'll make life so much easier.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Monday, 27 June 2011 18:35:01 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:14:07 GMT