This repository has been archived on 2020-04-04. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
Vim-Vixen/src/actions/follow.js
2017-10-05 20:14:58 +09:00

29 lines
432 B
JavaScript

import actions from 'actions';
const enable = (newTab) => {
return {
type: actions.FOLLOW_ENABLE,
newTab,
};
};
const disable = () => {
return {
type: actions.FOLLOW_DISABLE,
};
};
const keyPress = (key) => {
return {
type: actions.FOLLOW_KEY_PRESS,
key: key
};
};
const backspace = () => {
return {
type: actions.FOLLOW_BACKSPACE,
};
};
export { enable, disable, keyPress, backspace };