From 5fb3de3263357b3b42a0d1a67a0b9153e4c34260 Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Wed, 4 Oct 2017 22:05:29 +0900 Subject: [PATCH] move operations --- src/actions/operation.js | 2 +- src/content/index.js | 2 +- src/{operations/index.js => shared/operations.js} | 0 src/shared/validators/setting.js | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) rename src/{operations/index.js => shared/operations.js} (100%) diff --git a/src/actions/operation.js b/src/actions/operation.js index 5b7f127..3ed7f05 100644 --- a/src/actions/operation.js +++ b/src/actions/operation.js @@ -1,4 +1,4 @@ -import operations from '../operations'; +import operations from '../shared/operations'; import messages from '../content/messages'; import * as consoleActions from './console'; import * as tabs from '../background/tabs'; diff --git a/src/content/index.js b/src/content/index.js index 38ad837..a9a50be 100644 --- a/src/content/index.js +++ b/src/content/index.js @@ -7,7 +7,7 @@ import { createStore } from '../store'; import ContentInputComponent from '../components/content-input'; import FollowComponent from '../components/follow'; import reducers from '../reducers'; -import operations from '../operations'; +import operations from '../shared/operations'; import messages from './messages'; const store = createStore(reducers); diff --git a/src/operations/index.js b/src/shared/operations.js similarity index 100% rename from src/operations/index.js rename to src/shared/operations.js diff --git a/src/shared/validators/setting.js b/src/shared/validators/setting.js index caba5cc..4dc35ff 100644 --- a/src/shared/validators/setting.js +++ b/src/shared/validators/setting.js @@ -1,4 +1,4 @@ -import operations from '../../operations'; +import operations from '../operations'; const VALID_TOP_KEYS = ['keymaps', 'search']; const VALID_OPERATION_VALUES = Object.keys(operations).map((key) => {