code: function hook(filter, fn, args) {
  				var tasty = this;
  				tasty.hooks.set(
  					filter,
  					function(result) {
  						return tasty.utils.thenable(
  							fn.apply(tasty, args)
  						).then(function() {
  							return result;
  						});
  					}
  				);
  			}
docs: istanbul ignore next