死循环了?
call和apply不怎么常用,也不记得什么意思了。
你为什么加个delegate方法啊。
完全可以用另一种更易读的写法。
delegate(this.run(),this) 就这句有错,看出来了没
this.timer = setInterval(delegate(this.run(),this), 1000);
改成
var that = this;
this.timer = setInterval(function() {
delegate(that.run,that);
}, 1000);
试试