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

Function getSetter

lib/test/angular/1.6.7/angular.js:23846–23852  ·  view source on GitHub ↗
(expression)

Source from the content-addressed store, hash-verified

23844 return formDirective;
23845
23846 function getSetter(expression) {
23847 if (expression === '') {
23848 //create an assignable expression, so forms with an empty name can be renamed later
23849 return $parse('this[""]').assign;
23850 }
23851 return $parse(expression).assign || noop;
23852 }
23853 }];
23854};
23855

Callers 1

formDirectiveFactoryFunction · 0.70

Calls 1

$parseFunction · 0.70

Tested by

no test coverage detected