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

Function getSetter

lib/test/angular/1.8.0/angular.js:25126–25132  ·  view source on GitHub ↗
(expression)

Source from the content-addressed store, hash-verified

25124 return formDirective;
25125
25126 function getSetter(expression) {
25127 if (expression === '') {
25128 //create an assignable expression, so forms with an empty name can be renamed later
25129 return $parse('this[""]').assign;
25130 }
25131 return $parse(expression).assign || noop;
25132 }
25133 }];
25134};
25135

Callers 1

formDirectiveFactoryFunction · 0.70

Calls 1

$parseFunction · 0.70

Tested by

no test coverage detected