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

Function createAndSet

lib/test/angular/1.8.0/angular.js:25199–25204  ·  view source on GitHub ↗
(ctrl, name, value, controller)

Source from the content-addressed store, hash-verified

25197 };
25198
25199 function createAndSet(ctrl, name, value, controller) {
25200 if (!ctrl[name]) {
25201 ctrl[name] = {};
25202 }
25203 set(ctrl[name], value, controller);
25204 }
25205
25206 function unsetAndCleanup(ctrl, name, value, controller) {
25207 if (ctrl[name]) {

Callers 1

addSetValidityMethodFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected