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

Function supportObject

lib/test/angular/1.7.0/angular.js:4905–4913  ·  view source on GitHub ↗
(delegate)

Source from the content-addressed store, hash-verified

4903 ////////////////////////////////////
4904
4905 function supportObject(delegate) {
4906 return function(key, value) {
4907 if (isObject(key)) {
4908 forEach(key, reverseParams(delegate));
4909 } else {
4910 return delegate(key, value);
4911 }
4912 };
4913 }
4914
4915 function provider(name, provider_) {
4916 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