aboutsummaryrefslogtreecommitdiff
path: root/src/actions/console.js
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2017-10-08 14:18:12 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2017-10-08 14:18:12 +0900
commit541449b1fced9eea15f415b023206b10724f5315 (patch)
tree996e207602e0c9f7d2d03fb1643339f441ebcefd /src/actions/console.js
parent22db12f2a37529a560eda1839c3a23011f900fab (diff)
separate console
Diffstat (limited to 'src/actions/console.js')
-rw-r--r--src/actions/console.js44
1 files changed, 0 insertions, 44 deletions
diff --git a/src/actions/console.js b/src/actions/console.js
deleted file mode 100644
index 4183489..0000000
--- a/src/actions/console.js
+++ /dev/null
@@ -1,44 +0,0 @@
-import actions from 'actions';
-
-const showCommand = (text) => {
- return {
- type: actions.CONSOLE_SHOW_COMMAND,
- text: text
- };
-};
-
-const showError = (text) => {
- return {
- type: actions.CONSOLE_SHOW_ERROR,
- text: text
- };
-};
-
-const hide = () => {
- return {
- type: actions.CONSOLE_HIDE
- };
-};
-
-const setCompletions = (completions) => {
- return {
- type: actions.CONSOLE_SET_COMPLETIONS,
- completions: completions
- };
-};
-
-const completionNext = () => {
- return {
- type: actions.CONSOLE_COMPLETION_NEXT,
- };
-};
-
-const completionPrev = () => {
- return {
- type: actions.CONSOLE_COMPLETION_PREV,
- };
-};
-
-export {
- showCommand, showError, hide, setCompletions, completionNext, completionPrev
-};