console state as action/reducer in redux

This commit is contained in:
Shin'ya Ueoka 2017-09-09 22:07:27 +09:00
parent 8593b3f5cd
commit e8056d2a70
6 changed files with 129 additions and 84 deletions

6
src/actions/index.js Normal file
View file

@ -0,0 +1,6 @@
export default {
CONSOLE_SHOW_COMMAND: 'vimvixen.console.show.command',
CONSOLE_SET_COMPLETIONS: 'vimvixen.console.set.completions',
CONSOLE_SHOW_ERROR: 'vimvixen.console.show.error',
CONSOLE_HIDE: 'vimvixen.console.hide'
};