aboutsummaryrefslogtreecommitdiff
path: root/src/background
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2017-10-08 10:54:56 +0900
committerGitHub <noreply@github.com>2017-10-08 10:54:56 +0900
commit0f54a203dba38acdd080a928cee95f875fe84706 (patch)
tree64ca61c590f16fb3af5d304e92872fa375b37532 /src/background
parentd995ab0030522f380d165f309ffc72b582366ddb (diff)
parent38fee747603d37a99f1a8d156f41ea3d7c400b78 (diff)
Merge pull request #20 from ueokande/prevent-page-keymaps
Prevent page keymaps
Diffstat (limited to 'src/background')
-rw-r--r--src/background/index.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/background/index.js b/src/background/index.js
index b966c13..dbc10fb 100644
--- a/src/background/index.js
+++ b/src/background/index.js
@@ -1,7 +1,6 @@
import * as settingsActions from 'actions/setting';
import messages from 'content/messages';
import BackgroundComponent from 'components/background';
-import BackgroundInputComponent from 'components/background-input';
import reducers from 'reducers';
import { createStore } from 'store';
@@ -15,10 +14,8 @@ const store = createStore(reducers, (e, sender) => {
}
});
const backgroundComponent = new BackgroundComponent(store);
-const backgroundInputComponent = new BackgroundInputComponent(store);
store.subscribe((sender) => {
backgroundComponent.update(sender);
- backgroundInputComponent.update(sender);
});
store.dispatch(settingsActions.load());