Lines Matching refs:label
13 everyTime: function(interval, label, fn, times, belay) { argument
15 jQuery.timer.add(this, interval, label, fn, times, belay);
18 oneTime: function(interval, label, fn) { argument
20 jQuery.timer.add(this, interval, label, fn, 1);
23 stopTime: function(label, fn) { argument
25 jQuery.timer.remove(this, label, fn);
60 add: function(element, interval, label, fn, times, belay) { argument
63 if (jQuery.isFunction(label)) {
66 fn = label;
67 label = interval;
85 if (!timers[label])
86 timers[label] = {};
95 jQuery.timer.remove(element, label, fn);
101 if (!timers[label][fn.timerID])
102 timers[label][fn.timerID] = window.setInterval(handler,interval);
107 remove: function(element, label, fn) { argument
112 if (!label) {
113 for ( label in timers )
114 this.remove(element, label, fn);
115 } else if ( timers[label] ) {
118 window.clearInterval(timers[label][fn.timerID]);
119 delete timers[label][fn.timerID];
122 for ( var fn in timers[label] ) {
123 window.clearInterval(timers[label][fn]);
124 delete timers[label][fn];
128 for ( ret in timers[label] ) break;
131 delete timers[label];