Re: [custom elements] Improving the name of document.register()

On Wed, Dec 11, 2013 at 3:17 PM, piranna@gmail.com <piranna@gmail.com>wrote:

> I have seen registerProtocolHandler() and it's being discused
> registerServiceWorker(). I believe registerElementDefinition() or
> registerCustomElement() could help to keep going on this path.
>
>
> Since a custom element is the only kind of element  you could register,
custom seems redundant - similarly - it isn't
registerCustomProtocolHandler().

.registerElement is reasonably short and, IMO, adds the descriptiveness
that Ted is looking for?


-- 
Brian Kardell :: @briankardell :: hitchjs.com

Received on Wednesday, 11 December 2013 20:24:07 UTC