about summary refs log tree commit diff stats
path: root/src/assets/javascripts/data.js
blob: 13172f792c0889e621959492375264dcba677948 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
"use strict";

let exceptions;
function setExceptions(val) {
    exceptions = val;
    browser.storage.sync.set({ exceptions })
};

let theme;
function setTheme(val) {
    theme = val;
    browser.storage.sync.set({ theme })
};

export default {
    exceptions,
    theme,
    setTheme,
    setExceptions,
}