aboutsummaryrefslogtreecommitdiff
path: root/src/reducers
diff options
context:
space:
mode:
Diffstat (limited to 'src/reducers')
-rw-r--r--src/reducers/background.js1
-rw-r--r--src/reducers/content.js30
2 files changed, 0 insertions, 31 deletions
diff --git a/src/reducers/background.js b/src/reducers/background.js
index 1bba13b..7a279c9 100644
--- a/src/reducers/background.js
+++ b/src/reducers/background.js
@@ -1,5 +1,4 @@
import * as tabs from '../background/tabs';
-import * as zooms from '../background/zooms';
import * as consoleActions from '../actions/console';
import actions from '../actions';
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;
}
}