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

Function supportObject

test/angular/1.4/angular.js:4399–4407  ·  view source on GitHub ↗
(delegate)

Source from the content-addressed store, hash-verified

4397 ////////////////////////////////////
4398
4399 function supportObject(delegate) {
4400 return function(key, value) {
4401 if (isObject(key)) {
4402 forEach(key, reverseParams(delegate));
4403 } else {
4404 return delegate(key, value);
4405 }
4406 };
4407 }
4408
4409 function provider(name, provider_) {
4410 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