aboutsummaryrefslogtreecommitdiff
path: root/src/background/components
diff options
context:
space:
mode:
Diffstat (limited to 'src/background/components')
-rw-r--r--src/background/components/background.js4
-rw-r--r--src/background/components/operation.js4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/background/components/background.js b/src/background/components/background.js
index 81d815b..e13424b 100644
--- a/src/background/components/background.js
+++ b/src/background/components/background.js
@@ -3,7 +3,7 @@ import * as commandActions from 'background/actions/command';
import * as settingActions from 'background/actions/setting';
import * as findActions from 'background/actions/find';
import * as tabActions from 'background/actions/tab';
-import * as commands from 'shared/commands';
+import * as completions from '../shared/completions';
export default class BackgroundComponent {
constructor(store) {
@@ -44,7 +44,7 @@ export default class BackgroundComponent {
case messages.SETTINGS_QUERY:
return Promise.resolve(this.store.getState().setting.value);
case messages.CONSOLE_QUERY_COMPLETIONS:
- return commands.complete(message.text, settings.value);
+ return completions.complete(message.text, settings.value);
case messages.SETTINGS_RELOAD:
this.store.dispatch(settingActions.load());
return this.broadcastSettingsChanged();
diff --git a/src/background/components/operation.js b/src/background/components/operation.js
index e1094c5..b9581c9 100644
--- a/src/background/components/operation.js
+++ b/src/background/components/operation.js
@@ -1,7 +1,7 @@
import messages from 'shared/messages';
import operations from 'shared/operations';
-import * as tabs from 'background/tabs';
-import * as zooms from 'background/zooms';
+import * as tabs from '../shared//tabs';
+import * as zooms from '../shared/zooms';
export default class BackgroundComponent {
constructor(store) {