aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2017-10-08 13:58:01 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2017-10-08 13:58:01 +0900
commit22db12f2a37529a560eda1839c3a23011f900fab (patch)
tree84e0f02fb447984fdded7e4a167b7545f2f5756c
parent0f54a203dba38acdd080a928cee95f875fe84706 (diff)
move messages to shared
-rw-r--r--src/actions/operation.js2
-rw-r--r--src/actions/setting.js2
-rw-r--r--src/background/index.js2
-rw-r--r--src/components/background.js2
-rw-r--r--src/components/console.js2
-rw-r--r--src/components/follow.js2
-rw-r--r--src/content/index.js2
-rw-r--r--src/pages/console.js2
-rw-r--r--src/shared/messages.js (renamed from src/content/messages.js)0
9 files changed, 8 insertions, 8 deletions
diff --git a/src/actions/operation.js b/src/actions/operation.js
index 0bb8310..8b1590b 100644
--- a/src/actions/operation.js
+++ b/src/actions/operation.js
@@ -1,5 +1,5 @@
import operations from 'shared/operations';
-import messages from 'content/messages';
+import messages from 'shared/messages';
import * as tabs from 'background/tabs';
import * as zooms from 'background/zooms';
import * as scrolls from 'content/scrolls';
diff --git a/src/actions/setting.js b/src/actions/setting.js
index 2a47608..c241428 100644
--- a/src/actions/setting.js
+++ b/src/actions/setting.js
@@ -1,5 +1,5 @@
import actions from 'actions';
-import messages from 'content/messages';
+import messages from 'shared/messages';
import DefaultSettings from 'shared/default-settings';
const load = () => {
diff --git a/src/background/index.js b/src/background/index.js
index dbc10fb..63d13cb 100644
--- a/src/background/index.js
+++ b/src/background/index.js
@@ -1,5 +1,5 @@
import * as settingsActions from 'actions/setting';
-import messages from 'content/messages';
+import messages from 'shared/messages';
import BackgroundComponent from 'components/background';
import reducers from 'reducers';
import { createStore } from 'store';
diff --git a/src/components/background.js b/src/components/background.js
index 4961d85..afb90c2 100644
--- a/src/components/background.js
+++ b/src/components/background.js
@@ -1,4 +1,4 @@
-import messages from 'content/messages';
+import messages from 'shared/messages';
import * as operationActions from 'actions/operation';
import * as settingsActions from 'actions/setting';
import * as tabActions from 'actions/tab';
diff --git a/src/components/console.js b/src/components/console.js
index 12341c1..20d15c2 100644
--- a/src/components/console.js
+++ b/src/components/console.js
@@ -1,4 +1,4 @@
-import messages from 'content/messages';
+import messages from 'shared/messages';
import * as consoleActions from 'actions/console';
export default class ConsoleComponent {
diff --git a/src/components/follow.js b/src/components/follow.js
index eedbd4d..0ec1e87 100644
--- a/src/components/follow.js
+++ b/src/components/follow.js
@@ -1,5 +1,5 @@
import * as followActions from 'actions/follow';
-import messages from 'content/messages';
+import messages from 'shared/messages';
import Hint from 'content/hint';
import HintKeyProducer from 'content/hint-key-producer';
diff --git a/src/content/index.js b/src/content/index.js
index d380291..25a2e74 100644
--- a/src/content/index.js
+++ b/src/content/index.js
@@ -6,7 +6,7 @@ import ContentInputComponent from 'components/content-input';
import KeymapperComponent from 'components/keymapper';
import FollowComponent from 'components/follow';
import reducers from 'reducers';
-import messages from './messages';
+import messages from 'shared/messages';
const store = createStore(reducers);
const followComponent = new FollowComponent(window.document.body, store);
diff --git a/src/pages/console.js b/src/pages/console.js
index b7be73d..4c6e16c 100644
--- a/src/pages/console.js
+++ b/src/pages/console.js
@@ -1,5 +1,5 @@
import './console.scss';
-import messages from 'content/messages';
+import messages from 'shared/messages';
import CompletionComponent from 'components/completion';
import ConsoleComponent from 'components/console';
import reducers from 'reducers';
diff --git a/src/content/messages.js b/src/shared/messages.js
index 138f0e0..138f0e0 100644
--- a/src/content/messages.js
+++ b/src/shared/messages.js