var that = this;
myEl.addEvent('click', function(evt) {
that.myMethod(evt, 'foo');
});
On Tue, Feb 8, 2011 at 7:55 PM, Steve Onnis <[email protected]> wrote:
> Thanks for that...but doesn't answer the question unless you are saying
> that
> the only way to do it is to actually add the bindWithEvent function back
> into the codebase somewhere? Is it not possible with just bind ?
>
> -----Original Message-----
> From: Sanford Whiteman [mailto:[email protected]]
> Sent: Wednesday, 9 February 2011 2:45 PM
> To: Steve Onnis
> Subject: Re: [Moo] Binding with events
>
> Roman opened the thread "BindWithEvent deprecated?" -- search the
> archives.
>
> -- S.
>
>
>
>
>
>
> =======
> Email scanned by PC Tools - No viruses or spyware found.
> (Email Guard: 7.0.0.21, Virus/Spyware Database: 6.16860)
> http://www.pctools.com/
> =======
>
>
>
>
>
> =======
> Email scanned by PC Tools - No viruses or spyware found.
> (Email Guard: 7.0.0.21, Virus/Spyware Database: 6.16860)
> http://www.pctools.com/
> =======
>