MCPcopy
hub / github.com/jquery/esprima / factory

Function factory

test/3rdparty/angular-1.2.5.js:3558–3558  ·  view source on GitHub ↗
(name, factoryFn)

Source from the content-addressed store, hash-verified

3556 }
3557
3558 function factory(name, factoryFn) { return provider(name, { $get: factoryFn }); }
3559
3560 function service(name, constructor) {
3561 return factory(name, ['$injector', function($injector) {

Callers 8

ensureFunction · 0.85
serviceFunction · 0.85
valueFunction · 0.85
getServiceFunction · 0.85
error-to-object.jsFile · 0.85

Calls 1

providerFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…