mirror of
https://github.com/Spengreb/sync.git
synced 2026-05-14 03:32:06 +00:00
11 lines
275 B
JavaScript
11 lines
275 B
JavaScript
const switches = {};
|
|
|
|
export function isActive(switchName) {
|
|
return switches.hasOwnProperty(switchName) && switches[switchName] === true;
|
|
}
|
|
|
|
export function setActive(switchName, active) {
|
|
switches[switchName] = active;
|
|
}
|
|
|
|
export const DUAL_BACKEND = 'DUAL_BACKEND';
|