MCPcopy Create free account
hub / github.com/EricSimons/ionic-course / supportObject

Function supportObject

code/songhop/www/lib/angular/angular.js:3999–4007  ·  view source on GitHub ↗
(delegate)

Source from the content-addressed store, hash-verified

3997 ////////////////////////////////////
3998
3999 function supportObject(delegate) {
4000 return function(key, value) {
4001 if (isObject(key)) {
4002 forEach(key, reverseParams(delegate));
4003 } else {
4004 return delegate(key, value);
4005 }
4006 };
4007 }
4008
4009 function provider(name, provider_) {
4010 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