Skip to content

Commit

Permalink
window.clearInterval -> clearInterval (implicit global, defined for j…
Browse files Browse the repository at this point in the history
…slint/jshint)
  • Loading branch information
scottschiller committed Feb 3, 2013
1 parent 2c281d4 commit 5d5ab7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions script/soundmanager2.js
Expand Up @@ -4680,7 +4680,7 @@ function SoundManager(smURL, smID) {

if (h5IntervalTimer === null && h5TimerCount === 0) {

h5IntervalTimer = window.setInterval(timerExecute, sm2.html5PollingInterval);
h5IntervalTimer = setInterval(timerExecute, sm2.html5PollingInterval);

}

Expand Down Expand Up @@ -4726,7 +4726,7 @@ function SoundManager(smURL, smID) {

// no active timers, stop polling interval.

window.clearInterval(h5IntervalTimer);
clearInterval(h5IntervalTimer);

h5IntervalTimer = null;

Expand Down

0 comments on commit 5d5ab7c

Please sign in to comment.