MCPcopy Create free account
hub / github.com/angular-ui/ui-grid / createAndSet

Function createAndSet

lib/test/angular/1.7.0/angular.js:24385–24390  ·  view source on GitHub ↗
(ctrl, name, value, controller)

Source from the content-addressed store, hash-verified

24383 };
24384
24385 function createAndSet(ctrl, name, value, controller) {
24386 if (!ctrl[name]) {
24387 ctrl[name] = {};
24388 }
24389 set(ctrl[name], value, controller);
24390 }
24391
24392 function unsetAndCleanup(ctrl, name, value, controller) {
24393 if (ctrl[name]) {

Callers 1

addSetValidityMethodFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected