MCPcopy Create free account
hub / github.com/EricSimons/ionic-course / createAndSet

Function createAndSet

code/songhop/www/lib/angular/angular.js:21766–21771  ·  view source on GitHub ↗
(name, value, options)

Source from the content-addressed store, hash-verified

21764 }
21765
21766 function createAndSet(name, value, options) {
21767 if (!ctrl[name]) {
21768 ctrl[name] = {};
21769 }
21770 set(ctrl[name], value, options);
21771 }
21772
21773 function unsetAndCleanup(name, value, options) {
21774 if (ctrl[name]) {

Callers 1

setValidityFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected