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

Function supportObject

test/angular/1.2/angular.js:3821–3829  ·  view source on GitHub ↗
(delegate)

Source from the content-addressed store, hash-verified

3819 ////////////////////////////////////
3820
3821 function supportObject(delegate) {
3822 return function(key, value) {
3823 if (isObject(key)) {
3824 forEach(key, reverseParams(delegate));
3825 } else {
3826 return delegate(key, value);
3827 }
3828 };
3829 }
3830
3831 function provider(name, provider_) {
3832 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