aboutsummaryrefslogtreecommitdiff
path: root/src/background/index.js
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2018-05-06 21:42:43 +0900
committerGitHub <noreply@github.com>2018-05-06 21:42:43 +0900
commit104a9666ff627b11ce7cf3a5bf096b1bc3437bc1 (patch)
tree4d995736429753d8c9d2892ef6195e6517777fc9 /src/background/index.js
parent828ac8cd84ddae9565be67f56e452a416b305c7a (diff)
parentcf30ef0cd503b3b9dee882202d64ba9db9922ee3 (diff)
Merge pull request #386 from ueokande/addon-enabled-indicator
Addon enabled indicator
Diffstat (limited to 'src/background/index.js')
-rw-r--r--src/background/index.js10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/background/index.js b/src/background/index.js
index ff27796..3f1013c 100644
--- a/src/background/index.js
+++ b/src/background/index.js
@@ -1,6 +1,9 @@
import * as settingActions from 'background/actions/setting';
import messages from 'shared/messages';
import BackgroundComponent from 'background/components/background';
+import OperationComponent from 'background/components/operation';
+import TabComponent from 'background/components/tab';
+import IndicatorComponent from 'background/components/indicator';
import reducers from 'background/reducers';
import { createStore } from 'shared/store';
import * as versions from 'shared/versions';
@@ -14,8 +17,13 @@ const store = createStore(reducers, (e, sender) => {
});
}
});
-// eslint-disable-next-line no-unused-vars
+
+/* eslint-disable no-unused-vars */
const backgroundComponent = new BackgroundComponent(store);
+const operationComponent = new OperationComponent(store);
+const tabComponent = new TabComponent(store);
+const indicatorComponent = new IndicatorComponent(store);
+/* eslint-enable no-unused-vars */
store.dispatch(settingActions.load());