[Proto-Scripty] PrototypeJS memory leak when using Class.create()

2012-07-30 Thread Erwin Pan
Hi , We're using Prototype and have memory leak issue. One of it seems to be here: (https://github.com/sstephenson/prototype/blob/1fb9728/src/lang/class.js#L53 ) 54 function create() { ... 65 klass.subclasses = []; 66 67 if (parent) { 68 subclass.prototype =

Re: [Proto-Scripty] Re: run function with AJAX.Updater

2012-07-30 Thread Victor
Here is the page being called . . . script type=text/javascript sayHi = function(){ alert ('Hi'); }; /script input type=button value=Click Me onclick=sayHi()/ My problem is that if I replace *alert* with *document.write* then the page gets replaced with a new page. I thought the