aboutsummaryrefslogtreecommitdiff
path: root/src/console/frames.js
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2017-09-16 23:32:19 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2017-09-16 23:32:19 +0900
commitc5529958d53146c8c6826673abe6431a19f1924d (patch)
tree4952c7ac1ded91d52fd6e424c229022b61b67aa3 /src/console/frames.js
parentb2cddcd69b4ae06770d66808624fc43f3dcbcb0e (diff)
parentae394e28c0cbc8710d4937238c97328afddbca0f (diff)
Merge branch 'more-redux'
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 };