MCPcopy
hub / github.com/angular-ui/ui-grid / getSetter

Function getSetter

lib/test/angular/1.5.0/angular.js:21529–21535  ·  view source on GitHub ↗
(expression)

Source from the content-addressed store, hash-verified

21527 return formDirective;
21528
21529 function getSetter(expression) {
21530 if (expression === '') {
21531 //create an assignable expression, so forms with an empty name can be renamed later
21532 return $parse('this[""]').assign;
21533 }
21534 return $parse(expression).assign || noop;
21535 }
21536 }];
21537};
21538

Callers 1

formDirectiveFactoryFunction · 0.70

Calls 1

$parseFunction · 0.70

Tested by

no test coverage detected