MCPcopy Create free account
hub / github.com/corbanbrook/dsp.js / wrapper

Function wrapper

examples/js/processing.js:8808–8811  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8806 function SetPixelContextWrapper() {
8807 function wrapFunction(newContext, name) {
8808 function wrapper() {
8809 resetContext();
8810 curContext[name].apply(curContext, arguments);
8811 }
8812 newContext[name] = wrapper;
8813 }
8814 function wrapProperty(newContext, name) {

Callers

nothing calls this directly

Calls 1

resetContextFunction · 0.85

Tested by

no test coverage detected