Open LianJilu opened 5 years ago
Tock.prototype.pause = function () { if ( this.go ) { this.pause_time = this.lap(); this.stop(); } ... }; Tock.prototype.stop = function () { this.pause_time = this.lap(); this.go = false; clearTimeout(this.timeout); ... };