Remove update propagation

This commit is contained in:
Shin'ya Ueoka 2017-10-28 14:10:46 +09:00
parent c4996ef5d8
commit 24c7369451
12 changed files with 23 additions and 57 deletions

View file

@ -3,6 +3,10 @@ export default class Completion {
this.wrapper = wrapper;
this.store = store;
this.prevState = {};
store.subscribe(() => {
this.update();
});
}
update() {

View file

@ -17,6 +17,10 @@ export default class ConsoleComponent {
this.hideCommand();
this.hideMessage();
store.subscribe(() => {
this.update();
});
}
onBlur() {