This repository has been archived on 2020-04-04. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
Vim-Vixen/src/background/shared/versions/storage.js
2018-07-11 21:01:48 +09:00

10 lines
216 B
JavaScript

const load = async() => {
let { version } = await browser.storage.local.get('version');
return version;
};
const save = (version) => {
return browser.storage.local.set({ version });
};
export { load, save };