diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2017-10-08 09:56:54 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2017-10-08 09:56:54 +0900 |
commit | e2aae9cff249db0617f082a34a8a3a4f5dd1f4f1 (patch) | |
tree | 4ebeeed64b27f6f2c952b5b3d436ea2e762a45ad /src/content | |
parent | 6f9b217df86c72ba5c8187cc192f90639488cee3 (diff) |
follow from content-input
Diffstat (limited to 'src/content')
-rw-r--r-- | src/content/index.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/content/index.js b/src/content/index.js index ad891ca..d380291 100644 --- a/src/content/index.js +++ b/src/content/index.js @@ -14,6 +14,9 @@ const contentInputComponent = new ContentInputComponent(window.document.body, store); const keymapperComponent = new KeymapperComponent(store); contentInputComponent.onKey((key, ctrl) => { + return followComponent.key(key, ctrl); +}); +contentInputComponent.onKey((key, ctrl) => { return keymapperComponent.key(key, ctrl); }); store.subscribe(() => { |