MCPcopy
hub / github.com/binux/qiandao / supportObject

Function supportObject

web/static/components/angularjs/angular.js:3794–3802  ·  view source on GitHub ↗
(delegate)

Source from the content-addressed store, hash-verified

3792 ////////////////////////////////////
3793
3794 function supportObject(delegate) {
3795 return function(key, value) {
3796 if (isObject(key)) {
3797 forEach(key, reverseParams(delegate));
3798 } else {
3799 return delegate(key, value);
3800 }
3801 };
3802 }
3803
3804 function provider(name, provider_) {
3805 assertNotHasOwnProperty(name, 'service');

Callers 1

createInjectorFunction · 0.85

Calls 3

forEachFunction · 0.85
reverseParamsFunction · 0.85
isObjectFunction · 0.70

Tested by

no test coverage detected