separate content
This commit is contained in:
parent
d886d7de29
commit
39fb540037
17 changed files with 24 additions and 24 deletions
|
@ -1,4 +1,4 @@
|
|||
import actions from 'actions';
|
||||
import actions from 'content/actions';
|
||||
|
||||
const enable = (newTab) => {
|
||||
return {
|
|
@ -1,4 +1,4 @@
|
|||
import actions from 'actions';
|
||||
import actions from 'content/actions';
|
||||
|
||||
const asKeymapChars = (key, ctrl) => {
|
||||
if (ctrl) {
|
|
@ -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) {
|
|
@ -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';
|
|
@ -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) {
|
|
@ -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);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import actions from 'actions';
|
||||
import actions from 'content/actions';
|
||||
|
||||
const defaultState = {
|
||||
enabled: false,
|
|
@ -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 = {
|
|
@ -1,4 +1,4 @@
|
|||
import actions from 'actions';
|
||||
import actions from 'content/actions';
|
||||
|
||||
const defaultState = {
|
||||
keys: '',
|
Reference in a new issue