MCPcopy Create free account
hub / github.com/cafebazaar/blacksmith / supportObject

Function supportObject

web/static/bower_components/angular/angular.js:4307–4315  ·  view source on GitHub ↗
(delegate)

Source from the content-addressed store, hash-verified

4305 ////////////////////////////////////
4306
4307 function supportObject(delegate) {
4308 return function(key, value) {
4309 if (isObject(key)) {
4310 forEach(key, reverseParams(delegate));
4311 } else {
4312 return delegate(key, value);
4313 }
4314 };
4315 }
4316
4317 function provider(name, provider_) {
4318 assertNotHasOwnProperty(name, 'service');

Callers 1

createInjectorFunction · 0.85

Calls 3

isObjectFunction · 0.85
forEachFunction · 0.85
reverseParamsFunction · 0.85

Tested by

no test coverage detected