MCPcopy Index your code
hub / github.com/angular-ui/ui-router / createAndSet

Function createAndSet

test/angular/1.6/angular.js:24246–24251  ·  view source on GitHub ↗
(ctrl, name, value, controller)

Source from the content-addressed store, hash-verified

24244 };
24245
24246 function createAndSet(ctrl, name, value, controller) {
24247 if (!ctrl[name]) {
24248 ctrl[name] = {};
24249 }
24250 set(ctrl[name], value, controller);
24251 }
24252
24253 function unsetAndCleanup(ctrl, name, value, controller) {
24254 if (ctrl[name]) {

Callers 1

addSetValidityMethodFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected