MCPcopy Create free account
hub / github.com/bclinkinbeard/angular / constant

Function constant

test/fixtures/foo.js:3851–3855  ·  view source on GitHub ↗
(name, value)

Source from the content-addressed store, hash-verified

3849 function value(name, val) { return factory(name, valueFn(val)); }
3850
3851 function constant(name, value) {
3852 assertNotHasOwnProperty(name, 'constant');
3853 providerCache[name] = value;
3854 instanceCache[name] = value;
3855 }
3856
3857 function decorator(serviceName, decorFn) {
3858 var origProvider = providerInjector.get(serviceName + providerSuffix),

Callers

nothing calls this directly

Calls 1

assertNotHasOwnPropertyFunction · 0.85

Tested by

no test coverage detected