MCPcopy Create free account
hub / github.com/krasimir/react-in-patterns / set

Function set

code/dependency-injection/public/app.js:3165–3169  ·  view source on GitHub ↗
(val)

Source from the content-addressed store, hash-verified

3163 };
3164
3165 function set(val) {
3166 var action = isFunction ? 'setting the method' : 'setting the property';
3167 warn(action, 'This is effectively a no-op');
3168 return val;
3169 }
3170
3171 function get() {
3172 var action = isFunction ? 'accessing the method' : 'accessing the property';

Callers 1

adoptClassInstanceFunction · 0.70

Calls 1

warnFunction · 0.70

Tested by

no test coverage detected