I tried this little piece and it seems to be working for me, d = new Deferred(); callback = function(extra_arg, result) { log("arg : " + extra_arg); log("result : " + result); } d.addCallback(callback, "extra_argument"); d.callback("actual_result");
The result was -> INFO: arg : extra_argument INFO: result : actual_result Possibly the req is actually undefined? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "MochiKit" group. To post to this group, send email to mochikit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/mochikit -~----------~----~----~----~------~----~------~--~---