function ready(fn, period, filter) {
						var tasty = this;
						tasty.hooks.set(
							filter,
							function(result) {
								return tasty.utils.thenable(function(resolve) {
									var interval = setInterval(function() {
										if (fn.call(tasty)) {
											clearInterval(interval);
											resolve(result);
										}
									}, period);
								});
							},
							'ready:until ' + period
						);
					}
function ready(fn, period, filter) {
						var tasty = this;
						tasty.hooks.set(
							filter,
							function(result) {
								return tasty.utils.thenable(function(resolve) {
									var interval = setInterval(function() {
										if (fn.call(tasty)) {
											clearInterval(interval);
											resolve(result);
										}
									}, period);
								});
							},
							'ready:until ' + period
						);
					}
function ready ( fn , period , filter ) { var tasty = this ; tasty . hooks . set ( filter , function ( result ) { return tasty . utils . thenable ( function ( resolve ) { var interval = setInterval ( function ( ) { if ( fn . call ( tasty ) ) { clearInterval ( interval ) ; resolve ( result ) ; } } , period ) ; } ) ; } , 'ready:until ' + period ) ; }
istanbul ignore next
istanbul ignore next