aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2017-10-04 22:05:29 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2017-10-04 22:05:29 +0900
commit5fb3de3263357b3b42a0d1a67a0b9153e4c34260 (patch)
tree3eb61d3c812f3d63f834f5c900936b4e7fb05661
parent79a4a805f6be14572b4486ddb79b0ebb98e37690 (diff)
move operations
-rw-r--r--src/actions/operation.js2
-rw-r--r--src/content/index.js2
-rw-r--r--src/shared/operations.js (renamed from src/operations/index.js)0
-rw-r--r--src/shared/validators/setting.js2
4 files changed, 3 insertions, 3 deletions
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
index b68f59d..b68f59d 100644
--- a/src/operations/index.js
+++ b/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) => {