[dojo-contributors] Should connect take string id's for nodes?
owen at smartsoul.com
Tue Jun 5 15:21:58 EDT 2007
+1 -- Sounds useful to me, the cost seems outweighed by the convenience.
On Jun 5, 2007, at 11:23 AM, Scott J. Miles wrote:
> I am considering altering dojo.connect so that you can pass a string
> (id) for a node as the first argument.
> The cost would essentially be a call to dojo.isString() for every
> connect (and a call to dojo.byId() for every connect to a node).
> I imagine this seems like an incredibly minor thing, but I try to
> consider every cycle used in _base code.
> Scott J. Miles
> TurboAjax Group
> dojo-contributors mailing list
> dojo-contributors at dojotoolkit.org
More information about the dojo-contributors