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