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

Function supportObject

test/angular/1.3/angular.js:4049–4057  ·  view source on GitHub ↗
(delegate)

Source from the content-addressed store, hash-verified

4047 ////////////////////////////////////
4048
4049 function supportObject(delegate) {
4050 return function(key, value) {
4051 if (isObject(key)) {
4052 forEach(key, reverseParams(delegate));
4053 } else {
4054 return delegate(key, value);
4055 }
4056 };
4057 }
4058
4059 function provider(name, provider_) {
4060 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