follow from content-input

This commit is contained in:
Shin'ya Ueoka 2017-10-08 09:56:54 +09:00
parent 6f9b217df8
commit e2aae9cff2
3 changed files with 9 additions and 9 deletions

View file

@ -13,6 +13,9 @@ const followComponent = new FollowComponent(window.document.body, store);
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);
});