MCPcopy
hub / github.com/marionettejs/backbone.marionette / proxy

Function proxy

src/utils/proxy.js:2–6  ·  view source on GitHub ↗
(method)

Source from the content-addressed store, hash-verified

1//Internal utility for creating context style global utils
2const proxy = function(method) {
3 return function(context, ...args) {
4 return method.apply(context, args);
5 };
6};
7
8export default proxy;

Callers 2

proxy.spec.jsFile · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…