parent
d886d7de29
commit
39fb540037
17 changed files with 24 additions and 24 deletions
@ -1,4 +1,4 @@ |
||||
import actions from 'actions'; |
||||
import actions from 'content/actions'; |
||||
|
||||
const enable = (newTab) => { |
||||
return { |
@ -1,4 +1,4 @@ |
||||
import actions from 'actions'; |
||||
import actions from 'content/actions'; |
||||
|
||||
const asKeymapChars = (key, ctrl) => { |
||||
if (ctrl) { |
@ -1,4 +1,4 @@ |
||||
import * as followActions from 'actions/follow'; |
||||
import * as followActions from 'content/actions/follow'; |
||||
import messages from 'shared/messages'; |
||||
import Hint from 'content/hint'; |
||||
import HintKeyProducer from 'content/hint-key-producer'; |
@ -1,5 +1,5 @@ |
||||
import * as inputActions from 'actions/input'; |
||||
import * as operationActions from 'actions/operation'; |
||||
import * as inputActions from 'content/actions/input'; |
||||
import * as operationActions from 'content/actions/operation'; |
||||
|
||||
export default class KeymapperComponent { |
||||
constructor(store) { |
@ -1,4 +1,4 @@ |
||||
import actions from 'actions'; |
||||
import actions from 'content/actions'; |
||||
|
||||
const defaultState = { |
||||
enabled: false, |
@ -1,6 +1,6 @@ |
||||
import inputReducer from 'reducers/input'; |
||||
import settingReducer from 'settings/reducers/setting'; |
||||
import followReducer from 'reducers/follow'; |
||||
import inputReducer from './input'; |
||||
import followReducer from './follow'; |
||||
|
||||
// Make setting reducer instead of re-use
|
||||
const defaultState = { |
@ -1,4 +1,4 @@ |
||||
import actions from 'actions'; |
||||
import actions from 'content/actions'; |
||||
|
||||
const defaultState = { |
||||
keys: '', |
@ -1,6 +1,6 @@ |
||||
import { expect } from "chai"; |
||||
import actions from 'actions'; |
||||
import * as followActions from 'actions/follow'; |
||||
import actions from 'content/actions'; |
||||
import * as followActions from 'content/actions/follow'; |
||||
|
||||
describe('follow actions', () => { |
||||
describe('enable', () => { |
@ -1,6 +1,6 @@ |
||||
import { expect } from "chai"; |
||||
import actions from 'actions'; |
||||
import * as inputActions from 'actions/input'; |
||||
import actions from 'content/actions'; |
||||
import * as inputActions from 'content/actions/input'; |
||||
|
||||
describe("input actions", () => { |
||||
describe("keyPress", () => { |
@ -1,10 +1,10 @@ |
||||
import { expect } from "chai"; |
||||
import FollowComponent from 'components/follow'; |
||||
import FollowComponent from 'content/components/follow'; |
||||
|
||||
describe('FollowComponent', () => { |
||||
describe('#getTargetElements', () => { |
||||
beforeEach(() => { |
||||
document.body.innerHTML = __html__['test/components/follow.html']; |
||||
document.body.innerHTML = __html__['test/content/components/follow.html']; |
||||
}); |
||||
|
||||
it('returns visible links', () => { |
@ -1,6 +1,6 @@ |
||||
import { expect } from "chai"; |
||||
import actions from 'actions'; |
||||
import followReducer from 'reducers/follow'; |
||||
import actions from 'content/actions'; |
||||
import followReducer from 'content/reducers/follow'; |
||||
|
||||
describe('follow reducer', () => { |
||||
it ('returns the initial state', () => { |
@ -1,6 +1,6 @@ |
||||
import { expect } from "chai"; |
||||
import actions from 'actions'; |
||||
import inputReducer from 'reducers/input'; |
||||
import actions from 'content/actions'; |
||||
import inputReducer from 'content/reducers/input'; |
||||
|
||||
describe("input reducer", () => { |
||||
it('return the initial state', () => { |
Reference in new issue