[dojo-contributors] Should connect take string id's for nodes?

Owen Williams 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:

> Hi,
>
> 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.
>
> Regards,
> Scott J. Miles
> TurboAjax Group
> http://www.turboajax.com
> _______________________________________________
> dojo-contributors mailing list
> dojo-contributors at dojotoolkit.org
> http://dojotoolkit.org/mailman/listinfo/dojo-contributors




More information about the dojo-contributors mailing list