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

Scott J. Miles sjmiles at turboajax.com
Tue Jun 5 14:23:22 EDT 2007


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

More information about the dojo-contributors mailing list