Re: Defining a constructor for Element and friends

On Fri, Jan 16, 2015 at 12:34 AM, Domenic Denicola <d@domenic.me> wrote:
> One interesting thing that falls out of the design is that it's trivial to allow a custom element class to be registered for multiple names; it requires no more work on the part of the class author than writing a class that corresponds to a single name, and is painless to use for consumers.

How can that work if the custom element constructor needs to look in
the registry to find its name? Pick a name at random?


-- 
https://annevankesteren.nl/

Received on Friday, 16 January 2015 13:03:21 UTC