| Ok, got a little further... From the docs: ...If additional arguments are given, then func will be replaced with MochiKit.Base.partial.apply(null, arguments). This differs from Twisted, because the result of the callback will be the last argument passed to func... So my extra args are passed into the callback first: d.addCallback( function (msg,req) { logDebug(msg); }, 'Hello'); Now debugs 'Hello'. But req is 'undefined'. So now I can't get at my request. :-( Juergen On Sep 19, 2006, at 8:19 AM, Juergen Schreck wrote:
|
- [mochikit] Getting at the deferred from the callback funct... Juergen Schreck
- [mochikit] Re: Getting at the deferred from the callb... Bob Ippolito
- [mochikit] Re: Getting at the deferred from the c... Juergen Schreck
- [mochikit] Re: Getting at the deferred from t... Juergen Schreck
