Update README.md
[KisSync.git] / src / switches.js
blob59b2f10766eea099a904a1ae6b9141e8bb9bfa8d
1 const switches = {
2 };
4 export function isActive(switchName) {
5     return switches.hasOwnProperty(switchName) && switches[switchName] === true;
8 export function setActive(switchName, active) {
9     switches[switchName] = active;