this.remove.delay.pass([10, this, [d]], this.remove) ?

On Nov 28, 6:29 pm, Sean McArthur <[email protected]> wrote:
> Wont that start the timeout right then?
>
> Sean McArthur
> On Nov 28, 2010 3:13 AM, "Arian" <[email protected]> wrote:
>
>
>
>
>
>
>
> > Or:
>
> > var e = this.remove.delay(10, this, [d]);
>
> > On Nov 28, 3:28 am, Sean McArthur <[email protected]> wrote:
> >> var that = this;
> >> var e = function() {
> >>     setTimeout(function() {
>
> >>        that.remove(d);
>
> >>     }, 10);
>
> >> }
> >> On Sat, Nov 27, 2010 at 4:53 PM, Dailce <[email protected]> wrote:
> >> > Sorry I'm such a noob lol
> >> > The previous 1.2 code I have uses
>
> >> >        var e = this.remove.create({
> >> >            bind: this,
> >> >            arguments: [d],
> >> >            delay: 10
> >> >        });
>
> >> > I read the docs, but I don't understand how to rewrite this at all.
> >> > If anyone could shed some light on the matter - thanks.

Reply via email to