MCPcopy Index your code
hub / github.com/angular-ui/ui-grid / unsetAndCleanup

Function unsetAndCleanup

lib/test/angular/1.4.3/angular.js:25652–25659  ·  view source on GitHub ↗
(name, value, controller)

Source from the content-addressed store, hash-verified

25650 }
25651
25652 function unsetAndCleanup(name, value, controller) {
25653 if (ctrl[name]) {
25654 unset(ctrl[name], value, controller);
25655 }
25656 if (isObjectEmpty(ctrl[name])) {
25657 ctrl[name] = undefined;
25658 }
25659 }
25660
25661 function cachedToggleClass(className, switchValue) {
25662 if (switchValue && !classCache[className]) {

Callers 1

setValidityFunction · 0.70

Calls 1

isObjectEmptyFunction · 0.70

Tested by

no test coverage detected