datasource-polling-min.js revision 85d511965757454bd8f7dc3e987518eb06e78d8f
YUI.add("datasource-polling",function(C){var A=C.Lang,B=function(){};B.prototype={_intervals:null,setInterval:function(F,E,H){if(A.isNumber(F)&&(F>=0)){var D=this,G=setInterval(function(){D.sendRequest(E,H);},F);if(!this._intervals){this._intervals=[];}this._intervals.push(G);return G;}else{}},clearInterval:function(F){var E=this._intervals||[],D=E.length-1;for(;D>-1;D--){if(E[D]===F){E.splice(D,1);clearInterval(F);}}}};},"@VERSION@",{requires:["datasource-base"]});