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

Function unsetAndCleanup

lib/test/angular/1.5.0/angular.js:26980–26987  ·  view source on GitHub ↗
(name, value, controller)

Source from the content-addressed store, hash-verified

26978 }
26979
26980 function unsetAndCleanup(name, value, controller) {
26981 if (ctrl[name]) {
26982 unset(ctrl[name], value, controller);
26983 }
26984 if (isObjectEmpty(ctrl[name])) {
26985 ctrl[name] = undefined;
26986 }
26987 }
26988
26989 function cachedToggleClass(className, switchValue) {
26990 if (switchValue && !classCache[className]) {

Callers 1

setValidityFunction · 0.70

Calls 1

isObjectEmptyFunction · 0.70

Tested by

no test coverage detected