diff options
| author | Shin'ya Ueoka <ueokande@i-beam.org> | 2018-05-01 13:51:07 +0900 | 
|---|---|---|
| committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2018-05-01 13:51:07 +0900 | 
| commit | 4d7c24f38a6861e1d498b6e7dd5c7be2d1a0ad15 (patch) | |
| tree | 0948f730a25eeda127c56a0f01009f14d066e4dc /src/console/actions | |
| parent | 177940981ed9c4f096ad7db20f0b7ee044fd7b17 (diff) | |
| parent | fb8a0f36aa4d070df936cc7598ef8dd988ee1b15 (diff) | |
Merge remote-tracking branch 'origin/master' into background-adjacent-tabs
Diffstat (limited to 'src/console/actions')
| -rw-r--r-- | src/console/actions/console.js | 8 | ||||
| -rw-r--r-- | src/console/actions/index.js | 1 | 
2 files changed, 8 insertions, 1 deletions
diff --git a/src/console/actions/console.js b/src/console/actions/console.js index 2cf8e8d..f80045f 100644 --- a/src/console/actions/console.js +++ b/src/console/actions/console.js @@ -1,5 +1,11 @@  import actions from 'console/actions'; +const hide = () => { +  return { +    type: actions.CONSOLE_HIDE, +  }; +}; +  const showCommand = (text) => {    return {      type: actions.CONSOLE_SHOW_COMMAND, @@ -61,6 +67,6 @@ const completionPrev = () => {  };  export { -  showCommand, showFind, showError, showInfo, hideCommand, setConsoleText, +  hide, showCommand, showFind, showError, showInfo, hideCommand, setConsoleText,    setCompletions, completionNext, completionPrev  }; diff --git a/src/console/actions/index.js b/src/console/actions/index.js index a85e329..b394179 100644 --- a/src/console/actions/index.js +++ b/src/console/actions/index.js @@ -1,5 +1,6 @@  export default {    // console commands +  CONSOLE_HIDE: 'console.hide',    CONSOLE_SHOW_COMMAND: 'console.show.command',    CONSOLE_SHOW_ERROR: 'console.show.error',    CONSOLE_SHOW_INFO: 'console.show.info',  | 
