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 > submitted in an earlier thread except the event handler now closes > over > the element that is generating the event. The leaked element shows up > in the Drip's "DOM Element Leaks" dialog and Drip shows the memory > usage increasing with auto-refresh. > > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> > <html xmlns="http://www.w3.org/1999/xhtml" lang="en"> > <head> > <meta http-equiv="content-type" content="text/html; charset=utf-8" /> > <title>test</title> > <script type="text/javascript" src="MochiKit.js"></script> > <script type="text/JavaScript"> > function doedit() > { > alert("doedit"); > } > function setup() > { > var link = $("alink"); > connect(link, "onclick", partial(doedit, link)); > } > connect(window, "onload", setup); > </script> > </head> > <body> > <h1>A simple test</h1> > <a href="#" id="alink">alink</a> > </body> > </html> > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
