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

Function factory

OpenReservation/wwwroot/Scripts/angular.js:4459–4464  ·  view source on GitHub ↗
(name, factoryFn, enforce)

Source from the content-addressed store, hash-verified

4457 }
4458
4459 function factory(name, factoryFn, enforce) {
4460 return provider(name,
4461 {
4462 $get: enforce !== false ? enforceReturnValue(name, factoryFn) : factoryFn
4463 });
4464 }
4465
4466 function service(name, constructor) {
4467 return factory(name,

Callers 6

ensureFunction · 0.85
serviceFunction · 0.85
valueFunction · 0.85
getServiceFunction · 0.85
jquery-ui.jsFile · 0.85

Calls 4

providerFunction · 0.85
enforceReturnValueFunction · 0.85
identifierForControllerFunction · 0.85
makeInjectableFunction · 0.85

Tested by

no test coverage detected