rename to follow-controller
This commit is contained in:
parent
24c7369451
commit
2c600786c8
9 changed files with 107 additions and 106 deletions
|
@ -2,27 +2,27 @@ import actions from 'content/actions';
|
|||
|
||||
const enable = (newTab) => {
|
||||
return {
|
||||
type: actions.FOLLOW_ENABLE,
|
||||
type: actions.FOLLOW_CONTROLLER_ENABLE,
|
||||
newTab,
|
||||
};
|
||||
};
|
||||
|
||||
const disable = () => {
|
||||
return {
|
||||
type: actions.FOLLOW_DISABLE,
|
||||
type: actions.FOLLOW_CONTROLLER_DISABLE,
|
||||
};
|
||||
};
|
||||
|
||||
const keyPress = (key) => {
|
||||
return {
|
||||
type: actions.FOLLOW_KEY_PRESS,
|
||||
type: actions.FOLLOW_CONTROLLER_KEY_PRESS,
|
||||
key: key
|
||||
};
|
||||
};
|
||||
|
||||
const backspace = () => {
|
||||
return {
|
||||
type: actions.FOLLOW_BACKSPACE,
|
||||
type: actions.FOLLOW_CONTROLLER_BACKSPACE,
|
||||
};
|
||||
};
|
||||
|
|
@ -17,8 +17,8 @@ export default {
|
|||
COMPLETION_SELECT_PREV: 'completions.select.prev',
|
||||
|
||||
// Follow
|
||||
FOLLOW_ENABLE: 'follow.enable',
|
||||
FOLLOW_DISABLE: 'follow.disable',
|
||||
FOLLOW_KEY_PRESS: 'follow.key.press',
|
||||
FOLLOW_BACKSPACE: 'follow.backspace',
|
||||
FOLLOW_CONTROLLER_ENABLE: 'follow.controller.enable',
|
||||
FOLLOW_CONTROLLER_DISABLE: 'follow.controller.disable',
|
||||
FOLLOW_CONTROLLER_KEY_PRESS: 'follow.controller.key.press',
|
||||
FOLLOW_CONTROLLER_BACKSPACE: 'follow.controller.backspace',
|
||||
};
|
||||
|
|
Reference in a new issue