mirror of
https://github.com/reality/dbot.git
synced 2024-12-24 19:52:36 +01:00
syntax error in previous commit
This commit is contained in:
parent
d9bd2eb492
commit
4d7e9343a4
@ -30,10 +30,10 @@ var timers = function(dbot) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
this.onDestroy = function() {
|
this.onDestroy = function() {
|
||||||
for(var i=0;i<this.runningTimeouts;i++ {
|
for(var i=0;i<this.runningTimeouts;i++) {
|
||||||
clearTimeout(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]);
|
clearTimer(this.runningIntervals[i]);
|
||||||
}
|
}
|
||||||
}.bind(this);
|
}.bind(this);
|
||||||
|
Loading…
Reference in New Issue
Block a user