[mochikit] Re: Passing an object to a Deferred callback?

2007-01-04 Thread Arnar Birgisson
On 1/4/07, jfagnani <[EMAIL PROTECTED]> wrote: One nice that about connect() though, is that the object will become this. It's a nice touch, I think. That's not exclusive to connect(), check out these: http://www.mochikit.com/doc/html/MochiKit/Base.html#fn-bind http://www.mochikit.com/doc/html

[mochikit] Re: Passing an object to a Deferred callback?

2007-01-04 Thread jfagnani
Jorge Godoy wrote: "jfagnani" <[EMAIL PROTECTED]> writes: > I'm loading some data with loadJSONDoc() and need to pass some > additional information to the callback function besides just the JSON. ... > I think it'd be nice if the Deffered callbacks worked like connect() > does, in that it