Luca wrote: > Ok, delay is really good. But I've got a scope problem with it. If I > call it in an object method: > > this.intId1 = this.closeMenu.delay(5,el,true); > > this.closeMenu will be executed, but strangely won't see the other > object methods. For exemple, > ... > I think you are looking for using bind before delay or curry:
this.intId1 = this.closeMenu.bind(this).delay(5, el, true); - Ken Snyder --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
