aboutsummaryrefslogtreecommitdiff
path: root/src/console
diff options
context:
space:
mode:
Diffstat (limited to 'src/console')
-rw-r--r--src/console/frames.js11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/console/frames.js b/src/console/frames.js
index 0b6f3e2..ec1e38c 100644
--- a/src/console/frames.js
+++ b/src/console/frames.js
@@ -1,5 +1,4 @@
import './console-frame.scss';
-import * as consoleActions from '../actions/console';
const initialize = (doc) => {
let iframe = doc.createElement('iframe');
@@ -11,17 +10,9 @@ const initialize = (doc) => {
return iframe;
}
-const showCommand = (text) => {
- return browser.runtime.sendMessage(consoleActions.showCommand(text));
-};
-
-const showError = (text) => {
- return browser.runtime.sendMessage(consoleActions.showError(text));
-}
-
const blur = (doc) => {
let iframe = doc.getElementById('vimvixen-console-frame');
iframe.blur();
}
-export { initialize, showCommand, showError, blur };
+export { initialize, blur };