You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In randori.timer.Timer.prototype.onTimerTick, this.stop() is called at the end of the method, causing timerTick to only be issued once. Below is the code from randori-framework.js.
It seems that this.stop() should be moved into the if-statment.
In randori.timer.Timer.prototype.onTimerTick, this.stop() is called at the end of the method, causing timerTick to only be issued once. Below is the code from randori-framework.js.
It seems that this.stop() should be moved into the if-statment.
randori.timer.Timer.prototype.onTimerTick = function() {
this._currentCount++;
this.timerTick.dispatch(this, this._currentCount);
if (this._currentCount == this._repeatCount) {
this.timerComplete.dispatch(this);
}
this.stop();
};
The text was updated successfully, but these errors were encountered: