diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/content/actions/follow.js (renamed from src/actions/follow.js) | 2 | ||||
-rw-r--r-- | src/content/actions/index.js (renamed from src/actions/index.js) | 0 | ||||
-rw-r--r-- | src/content/actions/input.js (renamed from src/actions/input.js) | 2 | ||||
-rw-r--r-- | src/content/actions/operation.js (renamed from src/actions/operation.js) | 2 | ||||
-rw-r--r-- | src/content/components/content-input.js (renamed from src/components/content-input.js) | 0 | ||||
-rw-r--r-- | src/content/components/follow.js (renamed from src/components/follow.js) | 2 | ||||
-rw-r--r-- | src/content/components/keymapper.js (renamed from src/components/keymapper.js) | 4 | ||||
-rw-r--r-- | src/content/index.js | 8 | ||||
-rw-r--r-- | src/content/reducers/follow.js (renamed from src/reducers/follow.js) | 2 | ||||
-rw-r--r-- | src/content/reducers/index.js (renamed from src/reducers/index.js) | 4 | ||||
-rw-r--r-- | src/content/reducers/input.js (renamed from src/reducers/input.js) | 2 |
11 files changed, 14 insertions, 14 deletions
diff --git a/src/actions/follow.js b/src/content/actions/follow.js index 708cd95..5a18dd5 100644 --- a/src/actions/follow.js +++ b/src/content/actions/follow.js @@ -1,4 +1,4 @@ -import actions from 'actions'; +import actions from 'content/actions'; const enable = (newTab) => { return { diff --git a/src/actions/index.js b/src/content/actions/index.js index 0b3749d..0b3749d 100644 --- a/src/actions/index.js +++ b/src/content/actions/index.js diff --git a/src/actions/input.js b/src/content/actions/input.js index 61acb76..cc4efac 100644 --- a/src/actions/input.js +++ b/src/content/actions/input.js @@ -1,4 +1,4 @@ -import actions from 'actions'; +import actions from 'content/actions'; const asKeymapChars = (key, ctrl) => { if (ctrl) { diff --git a/src/actions/operation.js b/src/content/actions/operation.js index a27cd02..d188a60 100644 --- a/src/actions/operation.js +++ b/src/content/actions/operation.js @@ -2,7 +2,7 @@ import operations from 'shared/operations'; import messages from 'shared/messages'; import * as scrolls from 'content/scrolls'; import * as navigates from 'content/navigates'; -import * as followActions from 'actions/follow'; +import * as followActions from 'content/actions/follow'; const exec = (operation) => { switch (operation.type) { diff --git a/src/components/content-input.js b/src/content/components/content-input.js index 9568caf..9568caf 100644 --- a/src/components/content-input.js +++ b/src/content/components/content-input.js diff --git a/src/components/follow.js b/src/content/components/follow.js index 0ec1e87..c87424d 100644 --- a/src/components/follow.js +++ b/src/content/components/follow.js @@ -1,4 +1,4 @@ -import * as followActions from 'actions/follow'; +import * as followActions from 'content/actions/follow'; import messages from 'shared/messages'; import Hint from 'content/hint'; import HintKeyProducer from 'content/hint-key-producer'; diff --git a/src/components/keymapper.js b/src/content/components/keymapper.js index 3685a4f..8f2cead 100644 --- a/src/components/keymapper.js +++ b/src/content/components/keymapper.js @@ -1,5 +1,5 @@ -import * as inputActions from 'actions/input'; -import * as operationActions from 'actions/operation'; +import * as inputActions from 'content/actions/input'; +import * as operationActions from 'content/actions/operation'; export default class KeymapperComponent { constructor(store) { diff --git a/src/content/index.js b/src/content/index.js index edca510..00873cc 100644 --- a/src/content/index.js +++ b/src/content/index.js @@ -2,10 +2,10 @@ import './console-frame.scss'; import * as consoleFrames from './console-frames'; import * as settingActions from 'settings/actions/setting'; import { createStore } from 'store'; -import ContentInputComponent from 'components/content-input'; -import KeymapperComponent from 'components/keymapper'; -import FollowComponent from 'components/follow'; -import reducers from 'reducers'; +import ContentInputComponent from 'content/components/content-input'; +import KeymapperComponent from 'content/components/keymapper'; +import FollowComponent from 'content/components/follow'; +import reducers from 'content/reducers'; import messages from 'shared/messages'; const store = createStore(reducers); diff --git a/src/reducers/follow.js b/src/content/reducers/follow.js index ed875e8..b7c0cf3 100644 --- a/src/reducers/follow.js +++ b/src/content/reducers/follow.js @@ -1,4 +1,4 @@ -import actions from 'actions'; +import actions from 'content/actions'; const defaultState = { enabled: false, diff --git a/src/reducers/index.js b/src/content/reducers/index.js index 9c86ebf..a62217f 100644 --- a/src/reducers/index.js +++ b/src/content/reducers/index.js @@ -1,6 +1,6 @@ -import inputReducer from 'reducers/input'; import settingReducer from 'settings/reducers/setting'; -import followReducer from 'reducers/follow'; +import inputReducer from './input'; +import followReducer from './follow'; // Make setting reducer instead of re-use const defaultState = { diff --git a/src/reducers/input.js b/src/content/reducers/input.js index 2e4bcd8..802020f 100644 --- a/src/reducers/input.js +++ b/src/content/reducers/input.js @@ -1,4 +1,4 @@ -import actions from 'actions'; +import actions from 'content/actions'; const defaultState = { keys: '', |