diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2017-09-17 09:00:41 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2017-09-17 09:00:41 +0900 |
commit | cd4708898134f5966f87df4aeaa8ed8c60e7943f (patch) | |
tree | db082d9cb2ec426010556dbc24ab439c9757afbd /src/content/index.js | |
parent | c5529958d53146c8c6826673abe6431a19f1924d (diff) | |
parent | 9ae814dfe45426f8df9b89b305392770344a7d50 (diff) |
Merge branch 'lint'
Diffstat (limited to 'src/content/index.js')
-rw-r--r-- | src/content/index.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/content/index.js b/src/content/index.js index 5d3735c..91f5420 100644 --- a/src/content/index.js +++ b/src/content/index.js @@ -4,11 +4,11 @@ import * as scrolls from '../content/scrolls'; import * as histories from '../content/histories'; import Follow from '../content/follow'; import operations from '../operations'; -import messages from '../messages'; +import messages from '../messages'; consoleFrames.initialize(window.document); -window.addEventListener("keypress", (e) => { +window.addEventListener('keypress', (e) => { if (e.target instanceof HTMLInputElement) { return; } @@ -40,14 +40,14 @@ const execOperation = (operation) => { case operations.HISTORY_NEXT: return histories.next(window); } -} +}; const update = (state) => { if (!state.console.commandShown) { window.focus(); consoleFrames.blur(window.document); } -} +}; browser.runtime.onMessage.addListener((action) => { switch (action.type) { |