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

Function constant

lib/test/angular/1.7.0/angular.js:4950–4954  ·  view source on GitHub ↗
(name, value)

Source from the content-addressed store, hash-verified

4948 function value(name, val) { return factory(name, valueFn(val), false); }
4949
4950 function constant(name, value) {
4951 assertNotHasOwnProperty(name, 'constant');
4952 providerCache[name] = value;
4953 instanceCache[name] = value;
4954 }
4955
4956 function decorator(serviceName, decorFn) {
4957 var origProvider = providerInjector.get(serviceName + providerSuffix),

Callers

nothing calls this directly

Calls 1

assertNotHasOwnPropertyFunction · 0.70

Tested by

no test coverage detected