Every line of 'stop interval javascript' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your JavaScript code is secure.
89 stop() { 90 clearTimeout(this._timeout); 91 clearInterval(this._interval); 92 }
77 stop() { 78 if (!this.isRunning) { 79 return; 80 } 81 82 clearInterval(this.clock); 83 this.isRunning = false; 84 }
69 function stop() { 70 window.clearInterval(readInterval); 71 $('#start').html('Read!'); 72 $('body').data('reading', false); 73 }
362 public clearInterval(interval: NodeJS.Timeout): boolean { 363 const index: number = this.timeouts.indexOf(interval); 364 365 if (index !== -1) { 366 clearTimeout(this.intervals[index]); 367 this.intervals.splice(index, 1); 368 369 return true; 370 } 371 372 return false; 373 }
24 stop() { 25 this._delayID && clearTimeout(this._delayID) 26 this._delayID = undefined 27 this._intervalID && clearInterval(this._intervalID) 28 this._intervalID = undefined 29 }
50 startInterval() { 51 this.interval = window.setInterval(() => { 52 this.fetch(getUrl(this.props.match.params.runId)) 53 }, interval) 54 }
89 function stop() { 90 if (--lock.count) delete lock[id]; 91 else delete node.__transition__; 92 return 1; 93 }
423 function stop () { 424 const player = getPlayer() 425 if (player) { 426 player.stop(function () { 427 player.device = null 428 stoppedCasting() 429 }) 430 clearInterval(statusInterval) 431 } else { 432 stoppedCasting() 433 } 434 }
41 stop() { 42 this.clear(); 43 this.callbacks.stop.forEach(cb => cb()); 44 }
46 stop() { 47 if (!this.running) { 48 return; 49 } 50 51 this._updateTime(); 52 this.offset = this.offset + this.currentTime - this.startTime; 53 this.running = false; 54 this.$interval.cancel(this._interval); 55 }