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

Function unsetAndCleanup

lib/test/angular/1.6.7/angular.js:23926–23933  ·  view source on GitHub ↗
(ctrl, name, value, controller)

Source from the content-addressed store, hash-verified

23924 }
23925
23926 function unsetAndCleanup(ctrl, name, value, controller) {
23927 if (ctrl[name]) {
23928 unset(ctrl[name], value, controller);
23929 }
23930 if (isObjectEmpty(ctrl[name])) {
23931 ctrl[name] = undefined;
23932 }
23933 }
23934
23935 function cachedToggleClass(ctrl, className, switchValue) {
23936 if (switchValue && !ctrl.$$classCache[className]) {

Callers 1

addSetValidityMethodFunction · 0.70

Calls 1

isObjectEmptyFunction · 0.70

Tested by

no test coverage detected