Re: [XBL] Accessing Binding Implementations

On Thu, 7 Dec 2006, Cameron McCormack wrote:
> 
> 5.3 Accessing Binding Implementations
> 
>   In addition, in languages that support dynamic dispatch, any attempts
>   to access members of ElementXBL objects that do not correspond to
>   methods or properties on the object itself but do correspond to
>   members of one of the objects in the xblImplementations list must be
>   forwarded to the last object in the xblImplementations list that is so
>   matched.
> 
> It should be mentioned here that ECMAScript is one such language that 
> supports dynamic dispatch, and how this should be achieved (presumably 
> by modifying the prototype chain).

Changing the prototype chain doesn't work (since the prototype chain only 
does single inheritance), but I've said that this applies to JS.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Tuesday, 9 January 2007 01:25:20 UTC