aboutsummaryrefslogtreecommitdiff
path: root/src/reducers/content.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/reducers/content.js')
-rw-r--r--src/reducers/content.js18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/reducers/content.js b/src/reducers/content.js
deleted file mode 100644
index ce59b18..0000000
--- a/src/reducers/content.js
+++ /dev/null
@@ -1,18 +0,0 @@
-import * as consoleFrames from '../console/frames';
-import actions from '../actions';
-
-export default function reducer(state, action = {}) {
- switch (action.type) {
- case actions.CMD_OPEN:
- return consoleFrames.showCommand('');
- case actions.CMD_TABS_OPEN:
- if (action.alter) {
- // alter url
- return consoleFrames.showCommand('open ' + window.location.href);
- } else {
- return consoleFrames.showCommand('open ');
- }
- case actions.CMD_BUFFER:
- return consoleFrames.showCommand('buffer ');
- }
-}