You're right.  This was a small oversight on my end, though, it would have
been a little more helpful to the OP if you had provided an explanation with
your reply. :)

The reason I use var that = this; is not for scope but rather to ensure that
the proper object is being referenced inside the function.

Thanks,
Matt

On Wed, Jan 13, 2010 at 7:12 PM, RobG <rg...@iinet.net.au> wrote:

>
>
> On Jan 14, 11:00 am, Matt Maxwell <leftwithoutli...@gmail.com> wrote:
> [...]
> > var that = this; // scope
>
> The value of the this keyword has nothing whatever to do with scope.
>
>
> --
> Rob
>

Reply via email to