remove unused actions and fix test
This commit is contained in:
parent
e3409b3aae
commit
fe8a928317
5 changed files with 10 additions and 61 deletions
|
@ -14,14 +14,6 @@ const postPatternNotFound = (pattern) => {
|
|||
'Pattern not found: ' + pattern);
|
||||
};
|
||||
|
||||
const show = () => {
|
||||
return { type: actions.FIND_SHOW };
|
||||
};
|
||||
|
||||
const hide = () => {
|
||||
return { type: actions.FIND_HIDE };
|
||||
};
|
||||
|
||||
const find = (string, backwards) => {
|
||||
let caseSensitive = false;
|
||||
let wrapScan = true;
|
||||
|
@ -60,4 +52,4 @@ const prev = (keyword, reset) => {
|
|||
return findNext(keyword, reset, true);
|
||||
};
|
||||
|
||||
export { show, hide, next, prev };
|
||||
export { next, prev };
|
||||
|
|
|
@ -23,7 +23,5 @@ export default {
|
|||
FOLLOW_CONTROLLER_BACKSPACE: 'follow.controller.backspace',
|
||||
|
||||
// Find
|
||||
FIND_SHOW: 'find.show',
|
||||
FIND_HIDE: 'find.hide',
|
||||
FIND_SET_KEYWORD: 'find.set.keyword',
|
||||
};
|
||||
|
|
Reference in a new issue