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

Function unsetAndCleanup

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

Source from the content-addressed store, hash-verified

21771 }
21772
21773 function unsetAndCleanup(name, value, options) {
21774 if (ctrl[name]) {
21775 unset(ctrl[name], value, options);
21776 }
21777 if (isObjectEmpty(ctrl[name])) {
21778 ctrl[name] = undefined;
21779 }
21780 }
21781
21782 function cachedToggleClass(className, switchValue) {
21783 if (switchValue && !classCache[className]) {

Callers 1

setValidityFunction · 0.70

Calls 1

isObjectEmptyFunction · 0.70

Tested by

no test coverage detected