aboutsummaryrefslogtreecommitdiff
path: root/src/content/actions
diff options
context:
space:
mode:
Diffstat (limited to 'src/content/actions')
-rw-r--r--src/content/actions/follow-controller.js (renamed from src/content/actions/follow.js)8
-rw-r--r--src/content/actions/index.js8
2 files changed, 8 insertions, 8 deletions
diff --git a/src/content/actions/follow.js b/src/content/actions/follow-controller.js
index 5a18dd5..3fd4dce 100644
--- a/src/content/actions/follow.js
+++ b/src/content/actions/follow-controller.js
@@ -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,
};
};
diff --git a/src/content/actions/index.js b/src/content/actions/index.js
index 83fa7cf..8cc2303 100644
--- a/src/content/actions/index.js
+++ b/src/content/actions/index.js
@@ -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',
};