in assets/www/scripts/MetroJs.lt.js [962:990]
tdata.setTimer = function () {
var action = null;
switch (tdata.mode) {
case 'slide':
action = $this.slide;
break;
case 'flip':
action = $this.flip;
break;
case 'flip-list':
action = $this.flipList;
break;
}
if (action != null) {
if (tdata.hasRun == false) {
window.setTimeout(function () {
doAnimations = true;
action();
tdata.setTimer();
}, tdata.initDelay);
} else {
if ($this.slideTimer != null)
$this.slideTimer = privMethods.stopTimer($this.slideTimer);
$this.slideTimer = privMethods.setTimer(function () { doAnimations = true; action(); }, tdata.speed + tdata.delay);
}
}
tdata.hasRun = true;
};