add options

This commit is contained in:
s2
2017-12-12 14:22:32 +01:00
parent 01aa8eba44
commit ad4af7871a
5 changed files with 111 additions and 14 deletions

8
src/utils.js Normal file
View File

@@ -0,0 +1,8 @@
function loadOptions() {
return browser.storage.local.get({
globals: {
width: 3,
orientation: 'vertical'
}
});
}