move operations

jh-changes
Shin'ya Ueoka 7 years ago
parent 79a4a805f6
commit 5fb3de3263
  1. 2
      src/actions/operation.js
  2. 2
      src/content/index.js
  3. 0
      src/shared/operations.js
  4. 2
      src/shared/validators/setting.js

@ -1,4 +1,4 @@
import operations from '../operations'; import operations from '../shared/operations';
import messages from '../content/messages'; import messages from '../content/messages';
import * as consoleActions from './console'; import * as consoleActions from './console';
import * as tabs from '../background/tabs'; import * as tabs from '../background/tabs';

@ -7,7 +7,7 @@ import { createStore } from '../store';
import ContentInputComponent from '../components/content-input'; import ContentInputComponent from '../components/content-input';
import FollowComponent from '../components/follow'; import FollowComponent from '../components/follow';
import reducers from '../reducers'; import reducers from '../reducers';
import operations from '../operations'; import operations from '../shared/operations';
import messages from './messages'; import messages from './messages';
const store = createStore(reducers); const store = createStore(reducers);

@ -1,4 +1,4 @@
import operations from '../../operations'; import operations from '../operations';
const VALID_TOP_KEYS = ['keymaps', 'search']; const VALID_TOP_KEYS = ['keymaps', 'search'];
const VALID_OPERATION_VALUES = Object.keys(operations).map((key) => { const VALID_OPERATION_VALUES = Object.keys(operations).map((key) => {