diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2017-09-13 21:55:09 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2017-09-13 21:55:09 +0900 |
commit | a61f37ad61da8766bf74d5a8b26e53390cb5b6c9 (patch) | |
tree | ffe92ab075915a0fd27bf9cde5dec5e4afcd1f66 /src/reducers/content.js | |
parent | b6e5153c1f67a68434ad3db7d3726f129cc14aa4 (diff) |
content operations
Diffstat (limited to 'src/reducers/content.js')
-rw-r--r-- | src/reducers/content.js | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/src/reducers/content.js b/src/reducers/content.js index bcf1160..ce59b18 100644 --- a/src/reducers/content.js +++ b/src/reducers/content.js @@ -1,7 +1,4 @@ import * as consoleFrames from '../console/frames'; -import * as histories from '../content/histories'; -import * as scrolls from '../content/scrolls'; -import Follow from '../content/follow'; import actions from '../actions'; export default function reducer(state, action = {}) { @@ -17,32 +14,5 @@ export default function reducer(state, action = {}) { } case actions.CMD_BUFFER: return consoleFrames.showCommand('buffer '); - case actions.SCROLL_LINES: - scrolls.scrollLines(window, action.count); - break; - case actions.SCROLL_PAGES: - scrolls.scrollPages(window, action.count); - break; - case actions.SCROLL_TOP: - scrolls.scrollTop(window); - break; - case actions.SCROLL_BOTTOM: - scrolls.scrollBottom(window); - break; - case actions.SCROLL_LEFT: - scrolls.scrollLeft(window); - break; - case actions.SCROLL_RIGHT: - scrolls.scrollRight(window); - break; - case actions.FOLLOW_START: - new Follow(window.document, action.newTab); - break; - case actions.HISTORY_PREV: - histories.prev(window); - break; - case actions.HISTORY_NEXT: - histories.next(window); - break; } } |