MCPcopy Create free account
hub / github.com/apache/cloudstack / supportObject

Function supportObject

tools/ngui/static/js/lib/angular.js:2752–2760  ·  view source on GitHub ↗
(delegate)

Source from the content-addressed store, hash-verified

2750 ////////////////////////////////////
2751
2752 function supportObject(delegate) {
2753 return function(key, value) {
2754 if (isObject(key)) {
2755 forEach(key, reverseParams(delegate));
2756 } else {
2757 return delegate(key, value);
2758 }
2759 }
2760 }
2761
2762 function provider(name, provider_) {
2763 if (isFunction(provider_) || isArray(provider_)) {

Callers 1

createInjectorFunction · 0.85

Calls 3

isObjectFunction · 0.85
forEachFunction · 0.85
reverseParamsFunction · 0.85

Tested by

no test coverage detected