datasource-polling-min.js revision 31557e8bce12ddd0d89b20190e50a0141e9491ba
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[G]=G;return G;}else{}},clearInterval:function(D){if(this._intervals&&this._intervals[D]){delete this._intervals[D];clearInterval(D);}},clearAllIntervals:function(){C.each(this._intervals,this.clearInterval,this);}};C.Base.build(C.DataSource.Local.NAME,C.DataSource.Local,[B],{dynamic:false});},"@VERSION@",{requires:["datasource-base"]});