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

Function supportObject

lib/test/angular/1.5.0/angular.js:4420–4428  ·  view source on GitHub ↗
(delegate)

Source from the content-addressed store, hash-verified

4418 ////////////////////////////////////
4419
4420 function supportObject(delegate) {
4421 return function(key, value) {
4422 if (isObject(key)) {
4423 forEach(key, reverseParams(delegate));
4424 } else {
4425 return delegate(key, value);
4426 }
4427 };
4428 }
4429
4430 function provider(name, provider_) {
4431 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