Tom a écrit :
> I dont think its possible with invoke, but using each should work
In 1.6 it is, because you'd get properly bound ("this" is the element
you registered on). In 1.5, you would need the each, but you don't need
bindAsEventListener: not passing any extra arguments means you'll get
the event object as first arg even with a simple bind.
--
Christophe Porteneuve aka TDD
[EMAIL PROTECTED]
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Spinoffs" 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/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---