diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2017-09-16 21:28:21 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2017-09-16 21:28:21 +0900 |
commit | 27702ef40236ca055e63373b2ee81d399d124cca (patch) | |
tree | 0b991574661bf12323c39b1b9157b0b6124b75de /src/console/frames.js | |
parent | c7a3dd16e666b5f844bc98f19e58a3fe9967b5a4 (diff) |
remove actions from content
Diffstat (limited to 'src/console/frames.js')
-rw-r--r-- | src/console/frames.js | 11 |
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 }; |