On Sep 14, 2006, at 1:22 PM, Leonardo Soto wrote:
> foo[bar](baz) should work on your example. Almost - 'foo' was the name of an object. This apparently cannot be passed in as a string. Perhaps I should've provided a more concise example: var controller = { dispatch: function ( foo, bar, baz ) { return foo.bar(baz); // of course this won't work :-) } } var foo = { bar: function(arg) { logDebug(arg); } } Thanks again, Juergen --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---