diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2017-10-07 18:38:57 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2017-10-07 18:50:43 +0900 |
commit | 8ff302a1f2870994cddc36fd461879eac951203d (patch) | |
tree | 3a07b64768937516dc7d43958b77dfcf77856126 /src/background/index.js | |
parent | a6b197ca73a6be50c5c5bf391391c9971ff8c5e2 (diff) |
store input keys in content script
Diffstat (limited to 'src/background/index.js')
-rw-r--r-- | src/background/index.js | 3 |
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()); |