MCPcopy
hub / github.com/angular-ui/ui-router / supportObject

Function supportObject

test/angular/1.6/angular.js:4927–4935  ·  view source on GitHub ↗
(delegate)

Source from the content-addressed store, hash-verified

4925 ////////////////////////////////////
4926
4927 function supportObject(delegate) {
4928 return function(key, value) {
4929 if (isObject(key)) {
4930 forEach(key, reverseParams(delegate));
4931 } else {
4932 return delegate(key, value);
4933 }
4934 };
4935 }
4936
4937 function provider(name, provider_) {
4938 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