MCPcopy Index your code
hub / github.com/angular-ui/ui-router / supportObject

Function supportObject

test/angular/1.7/angular.js:4955–4963  ·  view source on GitHub ↗
(delegate)

Source from the content-addressed store, hash-verified

4953 ////////////////////////////////////
4954
4955 function supportObject(delegate) {
4956 return function(key, value) {
4957 if (isObject(key)) {
4958 forEach(key, reverseParams(delegate));
4959 } else {
4960 return delegate(key, value);
4961 }
4962 };
4963 }
4964
4965 function provider(name, provider_) {
4966 assertNotHasOwnProperty(name, 'service');

Callers 1

createInjectorFunction · 0.70

Calls 3

isObjectFunction · 0.70
forEachFunction · 0.70
reverseParamsFunction · 0.70

Tested by

no test coverage detected