[mochikit] Re: Request: MochiKit.Signals event().currentTarget()

2006-03-21 Thread Thomas Hervé
See here someone who got the same problem as you: http://groups.google.fr/group/mochikit/browse_frm/thread/1f83acd42a1cd4e0/5a64c7c40769ccd1?q=targetrnum=1#5a64c7c40769ccd1 To make it quick, I think the simplest way to handle it is in your code, by passing the element you connect to with a

[mochikit] Don't give up. Insist!!

2006-03-21 Thread Marylin
You have a chance for to earn money. You need to believe only! Trust in GOD and believe that you can! I challenge you to click here: http://www.geocities.com/marylinminsk7/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[mochikit] Re: Request: MochiKit.Signals event().currentTarget()

2006-03-21 Thread Doug Crawford
Typically, if you pass an element to an event handler via partial that references the element that is registering the handler it will cause a memory leak in IE. But I assume this will not happen with MochiKit.Signal since DOM handlers are unregistered during the window unload event. Is this

[mochikit] Re: Perf suggestions with large numbers of connect()s and addLoadEvents?

2006-03-21 Thread LukeStark
Thanks folks. Seems clear enough We'll take a stab at it and let the group know how it turns out. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups MochiKit group. To post to this group, send email to

[mochikit] Functional Programming

2006-03-21 Thread Jono
Hi, I'm fairly new to this group, but am impressed that at last FP is coming of age in a non-niche (aka non-academic) fashion. (That's a bit rich cos I worked alot in acedmia!). Are there any plans to 'extend' (no pun) or perhaps promote the functional capabilities of Mochikit aka Haskell

[mochikit] Re: Request: MochiKit.Signals event().currentTarget()

2006-03-21 Thread Beau Hartshorne
Signal should not leak no matter what you do. That said, please do test your code with Drip and let me know if you find any problems. On 21-Mar-06, at 7:36 AM, Doug Crawford wrote: Typically, if you pass an element to an event handler via partial that references the element that is

[mochikit] Re: Signal - non DOM siganl called with MochiKit.Signal.Event

2006-03-21 Thread Beau Hartshorne
Markus, we need to see a simple test case that demonstrates the problem before we can do anything. If you see this again, please make a simple HTML document that demonstrates the problem, and I'll do my best to address it. Thanks! On 12-Mar-06, at 9:42 AM, [EMAIL PROTECTED] wrote:

[mochikit] Deferred chains?

2006-03-21 Thread Doug Crawford
Does anyone have an example of how to setup or use Deferred Chains where a callback returns another Deferred instance. I am having trouble understanding what is supposed to happen with any return value from a Deferred callback function. Is this return value used as the first calling argument

[mochikit] Re: Deferred chains?

2006-03-21 Thread Bob Ippolito
On Mar 21, 2006, at 2:45 PM, Doug Crawford wrote:Does anyone have an example of how to setup or use Deferred Chainswhere a callback returns another Deferred instance.  I am havingtrouble understanding what is supposed to happen with any return valuefrom a Deferred callback function.  Is this

[mochikit] Re: Deferred chains?

2006-03-21 Thread Bob Ippolito
On Mar 21, 2006, at 4:36 PM, Doug Crawford wrote:Thanks,  I am starting to understand this stuff but not completely.  Inyour example you never explicitly call e.addCallback() so when you calle.callback("write this") how does the e object choose the rightcallback function?When a Deferred ends up in

[mochikit] Re: Request: MochiKit.Signals event().currentTarget()

2006-03-21 Thread Beau Hartshorne
Doug, thank you for the great test case. I'll get on this and let you know what I can do. On 21-Mar-06, at 2:38 PM, Doug Crawford wrote: Here is simple test case that shows a leak in Drip 0.3 using the latest 640 version of MochiKit. This is basically the same test case that I

[mochikit] Re: Deferred chains?

2006-03-21 Thread Bob Ippolito
On Mar 21, 2006, at 5:24 PM, Bob Ippolito wrote: On Mar 21, 2006, at 4:36 PM, Doug Crawford wrote: I thought I could restructure the example slightly and still get the same end result but the following example does not print write this. I am sure it is obvious why this similar example