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 could take an object and function.

;-)  I believe, then, that you'll be happy with the above.

--
Jorge Godoy      <[EMAIL PROTECTED]>

Indeed, I am. I was using addCallbacks(), not addCallback(). Thanks.

One nice that about connect() though, is that the object will become
this. It's a nice touch, I think.

Thanks,
 Justin


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MochiKit" 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/mochikit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to