- From: <bugzilla@jessica.w3.org>
- Date: Wed, 29 Aug 2012 21:05:41 +0000
- To: public-webapps-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=18732
--- Comment #9 from Olli Pettay <bugs@pettay.fi> 2012-08-29 21:05:41 UTC ---
I'd rather have some dictionary passed to register and it would contain
the listeners which would be automatically registered.
Something like
document.register("foobarelement", {
prototype: HTMLSpanElement,
listeners: {
click: function(evt) { /*do something*/ },
mouseover: function(evt) { /* do something else*/ };
}
})
(And please don't say webkit's memory management can't handle that.)
--
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Wednesday, 29 August 2012 21:05:43 UTC