aboutsummaryrefslogtreecommitdiff
path: root/src/content/client/FindMasterClient.ts
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2020-04-13 20:37:36 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2020-04-13 20:37:36 +0900
commite1dac618a8b8929f601c7ec8aca3842c5ebf9d03 (patch)
tree6a914a8243c8c02e7752a83667a54d3fa832955c /src/content/client/FindMasterClient.ts
parent685f2b7b69218b06b5bb676069e35f79c5048c9b (diff)
Use plugin:prettier/recommended
Diffstat (limited to 'src/content/client/FindMasterClient.ts')
-rw-r--r--src/content/client/FindMasterClient.ts20
1 files changed, 13 insertions, 7 deletions
diff --git a/src/content/client/FindMasterClient.ts b/src/content/client/FindMasterClient.ts
index 9ed38dd..9c3f812 100644
--- a/src/content/client/FindMasterClient.ts
+++ b/src/content/client/FindMasterClient.ts
@@ -1,4 +1,4 @@
-import * as messages from '../../shared/messages';
+import * as messages from "../../shared/messages";
export default interface FindMasterClient {
findNext(): void;
@@ -8,14 +8,20 @@ export default interface FindMasterClient {
export class FindMasterClientImpl implements FindMasterClient {
findNext(): void {
- window.top.postMessage(JSON.stringify({
- type: messages.FIND_NEXT,
- }), '*');
+ window.top.postMessage(
+ JSON.stringify({
+ type: messages.FIND_NEXT,
+ }),
+ "*"
+ );
}
findPrev(): void {
- window.top.postMessage(JSON.stringify({
- type: messages.FIND_PREV,
- }), '*');
+ window.top.postMessage(
+ JSON.stringify({
+ type: messages.FIND_PREV,
+ }),
+ "*"
+ );
}
}