Sha256: fb681cd985d7e6eccce0f9a8d4900554f1b87c22f5edfbba86b9483a17dc5d57
Contents?: true
Size: 353 Bytes
Versions: 62
Compression:
Stored size: 353 Bytes
Contents
define(['./partial'], function (partial) { /** * Returns the first function passed as an argument to the second, * allowing you to adjust arguments, run code before and after, and * conditionally execute the original function. */ function wrap(fn, wrapper){ return partial(wrapper, fn); } return wrap; });
Version data entries
62 entries across 62 versions & 1 rubygems