Re: [DOMCore] Making event initializing easier

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 UTC