diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2017-11-02 11:41:11 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-02 11:41:11 +0000 |
commit | 9f1a18352fcac690ea714e84f6b1f6d6201ffd67 (patch) | |
tree | eced7b1cc76935aea8e9de2a0cbf79649b032052 /src/content/actions | |
parent | c4996ef5d8d5d85f49732bb01b6da13b66ea81d5 (diff) | |
parent | 14241ca842b7dc92f26252a0ac7bb7e549d560c8 (diff) |
Merge pull request #123 from ueokande/64-follow-area-tags
follow area tags
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.js | 8 |
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', }; |