Remove update propagation
This commit is contained in:
parent
c4996ef5d8
commit
24c7369451
12 changed files with 23 additions and 57 deletions
|
@ -1,16 +1,3 @@
|
|||
import CommonComponent from './common';
|
||||
|
||||
export default class FrameContent {
|
||||
|
||||
constructor(win, store) {
|
||||
this.children = [new CommonComponent(win, store)];
|
||||
}
|
||||
|
||||
update() {
|
||||
this.children.forEach(c => c.update());
|
||||
}
|
||||
|
||||
onMessage(message, sender) {
|
||||
this.children.forEach(c => c.onMessage(message, sender));
|
||||
}
|
||||
}
|
||||
export default CommonComponent;
|
||||
|
|
Reference in a new issue