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

Function supportObject

test/angular/1.5/angular.js:4586–4594  ·  view source on GitHub ↗
(delegate)

Source from the content-addressed store, hash-verified

4584 ////////////////////////////////////
4585
4586 function supportObject(delegate) {
4587 return function(key, value) {
4588 if (isObject(key)) {
4589 forEach(key, reverseParams(delegate));
4590 } else {
4591 return delegate(key, value);
4592 }
4593 };
4594 }
4595
4596 function provider(name, provider_) {
4597 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