MCPcopy Create free account
hub / github.com/OpenReservation/OpenReservation / supportObject

Function supportObject

OpenReservation/wwwroot/Scripts/angular.js:4426–4434  ·  view source on GitHub ↗
(delegate)

Source from the content-addressed store, hash-verified

4424 ////////////////////////////////////
4425
4426 function supportObject(delegate) {
4427 return function (key, value) {
4428 if (isObject(key)) {
4429 forEach(key, reverseParams(delegate));
4430 } else {
4431 return delegate(key, value);
4432 }
4433 };
4434 }
4435
4436 function provider(name, provider_) {
4437 assertNotHasOwnProperty(name, 'service');

Callers 1

createInjectorFunction · 0.85

Calls 4

isObjectFunction · 0.85
forEachFunction · 0.85
reverseParamsFunction · 0.85
delegateFunction · 0.70

Tested by

no test coverage detected