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

Function getSetter

lib/test/angular/1.7.0/angular.js:24312–24318  ·  view source on GitHub ↗
(expression)

Source from the content-addressed store, hash-verified

24310 return formDirective;
24311
24312 function getSetter(expression) {
24313 if (expression === '') {
24314 //create an assignable expression, so forms with an empty name can be renamed later
24315 return $parse('this[""]').assign;
24316 }
24317 return $parse(expression).assign || noop;
24318 }
24319 }];
24320};
24321

Callers 1

formDirectiveFactoryFunction · 0.70

Calls 1

$parseFunction · 0.70

Tested by

no test coverage detected