MCPcopy Create free account
hub / github.com/bclinkinbeard/angular / supportObject

Function supportObject

test/fixtures/foo.js:3820–3828  ·  view source on GitHub ↗
(delegate)

Source from the content-addressed store, hash-verified

3818 ////////////////////////////////////
3819
3820 function supportObject(delegate) {
3821 return function(key, value) {
3822 if (isObject(key)) {
3823 forEach(key, reverseParams(delegate));
3824 } else {
3825 return delegate(key, value);
3826 }
3827 };
3828 }
3829
3830 function provider(name, provider_) {
3831 assertNotHasOwnProperty(name, 'service');

Callers 1

createInjectorFunction · 0.85

Calls 3

isObjectFunction · 0.85
forEachFunction · 0.85
reverseParamsFunction · 0.85

Tested by

no test coverage detected