aboutsummaryrefslogtreecommitdiff
path: root/src/console/frames.js
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2017-09-16 21:28:21 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2017-09-16 21:28:21 +0900
commit27702ef40236ca055e63373b2ee81d399d124cca (patch)
tree0b991574661bf12323c39b1b9157b0b6124b75de /src/console/frames.js
parentc7a3dd16e666b5f844bc98f19e58a3fe9967b5a4 (diff)
remove actions from content
Diffstat (limited to 'src/console/frames.js')
-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 };