1 define(['./partial'], function (partial) {
4 * Returns the first function passed as an argument to the second,
5 * allowing you to adjust arguments, run code before and after, and
6 * conditionally execute the original function.
8 function wrap(fn, wrapper){
9 return partial(wrapper, fn);