MCPcopy Index your code
hub / github.com/stemkoski/stemkoski.github.com / wrap

Function wrap

MathBox/mathbox-bundle.js:40871–40873  ·  view source on GitHub ↗

* Creates a function that provides `value` to the wrapper function as its * first argument. Additional arguments provided to the function are appended * to those provided to the wrapper function. The wrapper is executed with * the `this` binding of the created function. * *

(value, wrapper)

Source from the content-addressed store, hash-verified

40869 * // => '<p>Fred, Wilma, &amp; Pebbles</p>'
40870 */
40871 function wrap(value, wrapper) {
40872 return createWrapper(wrapper, 16, [value]);
40873 }
40874
40875 /*--------------------------------------------------------------------------*/
40876

Callers 2

mathbox-core.jsFile · 0.85
mathbox-bundle.jsFile · 0.85

Calls 1

createWrapperFunction · 0.85

Tested by

no test coverage detected