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

Function getSetter

OpenReservation/wwwroot/Scripts/angular.js:22053–22059  ·  view source on GitHub ↗
(expression)

Source from the content-addressed store, hash-verified

22051 return formDirective;
22052
22053 function getSetter(expression) {
22054 if (expression === '') {
22055 //create an assignable expression, so forms with an empty name can be renamed later
22056 return $parse('this[""]').assign;
22057 }
22058 return $parse(expression).assign || noop;
22059 }
22060 }
22061 ];
22062 };

Callers 1

formDirectiveFactoryFunction · 0.85

Calls 1

$parseFunction · 0.85

Tested by

no test coverage detected