(name, value, options)
| 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]) { |
no test coverage detected