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

Function supportObject

lib/test/angular/1.8.0/angular.js:5020–5028  ·  view source on GitHub ↗
(delegate)

Source from the content-addressed store, hash-verified

5018 ////////////////////////////////////
5019
5020 function supportObject(delegate) {
5021 return function(key, value) {
5022 if (isObject(key)) {
5023 forEach(key, reverseParams(delegate));
5024 } else {
5025 return delegate(key, value);
5026 }
5027 };
5028 }
5029
5030 function provider(name, provider_) {
5031 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