syntax error in previous commit

This commit is contained in:
reality 2013-01-20 21:28:44 +00:00
parent d9bd2eb492
commit 4d7e9343a4

View File

@ -30,10 +30,10 @@ var timers = function(dbot) {
};
this.onDestroy = function() {
for(var i=0;i<this.runningTimeouts;i++ {
for(var i=0;i<this.runningTimeouts;i++) {
clearTimeout(this.runningTimeouts[i]);
}
for(i=0;i<this.runningIntervals;i++ {
for(i=0;i<this.runningIntervals;i++) {
clearTimer(this.runningIntervals[i]);
}
}.bind(this);