MCPcopy Create free account
hub / github.com/angular-ui/ui-grid / constant

Function constant

lib/test/angular/1.4.3/angular.js:4325–4329  ·  view source on GitHub ↗
(name, value)

Source from the content-addressed store, hash-verified

4323 function value(name, val) { return factory(name, valueFn(val), false); }
4324
4325 function constant(name, value) {
4326 assertNotHasOwnProperty(name, 'constant');
4327 providerCache[name] = value;
4328 instanceCache[name] = value;
4329 }
4330
4331 function decorator(serviceName, decorFn) {
4332 var origProvider = providerInjector.get(serviceName + providerSuffix),

Callers

nothing calls this directly

Calls 1

assertNotHasOwnPropertyFunction · 0.70

Tested by

no test coverage detected