On 9/18/06, Juergen Schreck <[EMAIL PROTECTED]> wrote:
>
> Deferred passes the XHR object to it's callback function. Is there a
> way to get a reference to the Deferred in the callback?
>

No, and you don't want to do that either.

If you want additional stuff to be passed to the callback, pass it
when you add the callback. It's documented:
http://mochikit.com/doc/html/MochiKit/Async.html#fn-deferred.prototype.addcallback

-bob

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to