aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2018-07-20 22:42:21 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2018-07-21 16:15:07 +0900
commit4d4aaa2c4ba9f09e23882287ce868c820aa900ee (patch)
tree9ba7fccd82d9b7d44ca01a1fd8118f084d553823
parent62d3c09f61d39da3d7ecd9361dcfd9825fb6023f (diff)
Move commands to background/shared
-rw-r--r--src/background/actions/command.js2
-rw-r--r--src/background/shared/commands/docs.js (renamed from src/shared/commands/docs.js)0
-rw-r--r--src/background/shared/commands/parsers.js (renamed from src/shared/commands/parsers.js)0
-rw-r--r--src/background/shared/completions/index.js2
-rw-r--r--test/background/shared/commands/parsers.test.js (renamed from test/shared/commands/parsers.test.js)2
5 files changed, 3 insertions, 3 deletions
diff --git a/src/background/actions/command.js b/src/background/actions/command.js
index a7f619b..feb16d8 100644
--- a/src/background/actions/command.js
+++ b/src/background/actions/command.js
@@ -2,7 +2,7 @@ import actions from '../actions';
import * as consoleActions from './console';
import * as tabs from '../shared/tabs';
import * as bookmarks from '../shared/bookmarks';
-import * as parsers from 'shared/commands/parsers';
+import * as parsers from 'background/shared/commands/parsers';
import * as properties from 'shared/settings/properties';
const openCommand = async(url) => {
diff --git a/src/shared/commands/docs.js b/src/background/shared/commands/docs.js
index c73eb71..c73eb71 100644
--- a/src/shared/commands/docs.js
+++ b/src/background/shared/commands/docs.js
diff --git a/src/shared/commands/parsers.js b/src/background/shared/commands/parsers.js
index fb37d2a..fb37d2a 100644
--- a/src/shared/commands/parsers.js
+++ b/src/background/shared/commands/parsers.js
diff --git a/src/background/shared/completions/index.js b/src/background/shared/completions/index.js
index 9ca13f7..157604e 100644
--- a/src/background/shared/completions/index.js
+++ b/src/background/shared/completions/index.js
@@ -1,4 +1,4 @@
-import commandDocs from 'shared/commands/docs';
+import commandDocs from 'background/shared/commands/docs';
import * as tabs from './tabs';
import * as histories from './histories';
import * as bookmarks from './bookmarks';
diff --git a/test/shared/commands/parsers.test.js b/test/background/shared/commands/parsers.test.js
index 1910f07..4a0c9f0 100644
--- a/test/shared/commands/parsers.test.js
+++ b/test/background/shared/commands/parsers.test.js
@@ -1,4 +1,4 @@
-import * as parsers from 'shared/commands/parsers';
+import * as parsers from 'background/shared/commands/parsers';
describe("shared/commands/parsers", () => {
describe("#parsers.parseSetOption", () => {