diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2021-05-15 18:03:43 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2021-07-05 21:32:43 +0900 |
commit | 21a0f2294b51f6ce78134384d34f302fb2cb8614 (patch) | |
tree | c9841c3bee7966e383221ff90ac04db009eab35e /src/content/repositories | |
parent | 038de72896e748df4e63352b4bbbae24d8a851ce (diff) |
Remove legacy find
Diffstat (limited to 'src/content/repositories')
-rw-r--r-- | src/content/repositories/FindRepository.ts | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/content/repositories/FindRepository.ts b/src/content/repositories/FindRepository.ts deleted file mode 100644 index aeb200f..0000000 --- a/src/content/repositories/FindRepository.ts +++ /dev/null @@ -1,17 +0,0 @@ -export default interface FindRepository { - getLastKeyword(): string | null; - - setLastKeyword(keyword: string): void; -} - -let current: string | null = null; - -export class FindRepositoryImpl implements FindRepository { - getLastKeyword(): string | null { - return current; - } - - setLastKeyword(keyword: string): void { - current = keyword; - } -} |