[mochikit] 'this' in Draggable callback

2008-01-13 Thread James
Hi all, I'm something of a newcomer to MochiKit to forgive me if this is a silly question. When using Signal's 'connect' function to add signal callbacks I'm using the form: var obj = new MyObj; connect(window, onload, obj, 'init'); So that 'this' still refers to obj in the init function.

[mochikit] Re: 'this' in Draggable callback

2008-01-13 Thread Bob Ippolito
On Jan 13, 2008 11:35 AM, James [EMAIL PROTECTED] wrote: Hi all, I'm something of a newcomer to MochiKit to forgive me if this is a silly question. When using Signal's 'connect' function to add signal callbacks I'm using the form: var obj = new MyObj; connect(window, onload, obj,