A fork of https://github.com/ueokande/vim-vixen
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
264 B
13 lines
264 B
6 years ago
|
import Setting from '../domains/Setting';
|
||
6 years ago
|
|
||
|
export default class SettingRepository {
|
||
|
async load() {
|
||
|
let { settings } = await browser.storage.local.get('settings');
|
||
|
if (!settings) {
|
||
|
return null;
|
||
|
}
|
||
|
return Setting.deserialize(settings);
|
||
|
}
|
||
|
}
|
||
|
|