hi

i tried to do something like this

function f1() {
    d = new Deferred();
    callLater(0, d.callback, 1);
    return d;
}

function f2() {
    f1().addCallback(console.log, 'hello from f2');
}

f2();
// nothing happens

... and i noticed that deferred methods are not bound to deferred obj 
and that it is done manual, e.g. in MochiKit.Async.wait() - 
m.bind("callback", d),

so why deferred methods not bound by default to a deferred instance? - 
if there is a reason for that please be so kind to let me know

thanks
markus

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