Hi, On Sat, Dec 13, 2008 at 12:14, Eoghan <[email protected]> wrote: > This would be backwards incompatible as current code such as: > connect('my-id', 'onclick', ....) > Would have to be rewritten as: > connect('#my-id', 'onclick', ....) > > IMO think this would give MochiKit a lot of the ease of use of JQuery, > where selectors are pervasive. > > Is this a bridge too far?
The backwards incompatibility thing is a bit too much I think. One workaround would be to make selector automagically interpret a string like "bla" as "#bla" -- but I don't think I'd vote for such as suggestion though :) cheers, Arnar --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "MochiKit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/mochikit?hl=en -~----------~----~----~----~------~----~------~--~---
