whole_func_string: 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;
  						});
  					}
  				);
  			}
func_code_string: 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;
  						});
  					}
  				);
  			}
func_documentation_string: istanbul ignore next