diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2017-09-01 08:51:14 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2017-09-01 09:15:44 +0900 |
commit | 6e5286ef10b26d0a09f3882d6c3bfdbd92223d0f (patch) | |
tree | 40d46345e48d0567e1c65201ca9d55e428060172 /src/content | |
parent | f1b9c6ba9d33fe1927c4855d4981d88ad73d5818 (diff) |
Rename command-line to console
Diffstat (limited to 'src/content')
-rw-r--r-- | src/content/index.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/content/index.js b/src/content/index.js index 9bd4e15..591aa98 100644 --- a/src/content/index.js +++ b/src/content/index.js @@ -1,7 +1,7 @@ import * as scrolls from './scrolls'; import * as histories from './histories'; import * as actions from '../shared/actions'; -import CommandLineFrame from '../command-line/command-line-frame'; +import ConsoleFrame from '../console/console-frame'; import Follow from './follow'; let cmd = null; @@ -13,14 +13,14 @@ const invokeEvent = (action) => { switch (action[0]) { case actions.CMD_OPEN: - cmd = new CommandLineFrame(window); + cmd = new ConsoleFrame(window); break; case actions.CMD_TABS_OPEN: if (action[1] || false) { // alter url - cmd = new CommandLineFrame(window, 'open ' + window.location.href); + cmd = new ConsoleFrame(window, 'open ' + window.location.href); } else { - cmd = new CommandLineFrame(window, 'open '); + cmd = new ConsoleFrame(window, 'open '); } break; case actions.SCROLL_LINES: |