adding dev files to master

adding all the dev files, package, webpack etc, including build which will contain minified release
This commit is contained in:
wompmacho
2020-11-01 21:02:00 -05:00
parent f47b10a05e
commit 3d81e92ecb
88 changed files with 7717 additions and 0 deletions

27
src/background/index.js Normal file
View File

@@ -0,0 +1,27 @@
import PersistentSyncStorage from 'src/helpers/PersistentSyncStorage';
import Setup from './Setup';
import CONFIG from 'src/config';
class Main {
constructor() {
this.init = this.init.bind(this);
PersistentSyncStorage.on('ready', () => {
this.setupOptions();
Setup.ensure().then(this.init);
});
}
init() {}
setupOptions() {
// Ensure options store is setup
if(!PersistentSyncStorage.has('options')) {
PersistentSyncStorage.set({ options: CONFIG.defaultOptions });
}
}
}
const main = new Main();