On Wed, 2008-09-24 at 19:03 -0700, tjs wrote: > var d = new Deferred(); > d.addCallback(partial(log, "whee")); > > succeed().addCallback(d.callback, 1); > > Blows up on line 92 of Async.js in: > > this._check(); > > > 'this' is 'window', which makes me think deferreds methods are not > bound? > if I call bindMethods(d); it -works- but still raises an exception. > > any ideas?
yes - they are not bound http://groups.google.com/group/mochikit/msg/032151c144c176d1 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?hl=en -~----------~----~----~----~------~----~------~--~---
