- Ken Snyder
http://www.nthpenguin.com
--
Architect
WebWidgetry.com / MashupStudio.com
Future Home of the World's First Complete Web Platform
--
Inquire: 1-262-951-6727
Blog: http://www.someElement.com
LinkedIn Profile: http://www.linkedin.com/in/ryangahl
Event.unloadCache = function() {
for (var id in Event.cache)
for (var eventName in cache[id])
cache[id][eventName] = null;
};
Also, along those lines, I wonder if using Element#remove will clear up
any memory leaks. If not, Element#remove should be ramped up to detach
listeners. I'm thinking of Douglas Crockford's purge() function
(http://javascript.crockford.com/memory/leak.html) but I don't
understand the Prototype 1.6 Event code well enough--I could be way off
base.
- Ken Snyder
http://groups.google.com/group/prototype-core/browse_thread/thread/9bad712f70d327ea
- Ken Snyder