]>
Commit | Line | Data |
---|---|---|
85861d67 BB |
1 | /* |
2 | * Components store data. Nothing to say here really, just | |
3 | * inherit and add a prototype, or don't even inherit, see? | |
4 | * It's just an empty class, so what I'm trying to say is your | |
5 | * components can be any class whatsoever. | |
6 | */ | |
85861d67 | 7 | |
19e91cdd | 8 | export class Component { |
b3b840f8 RBR |
9 | constructor(config) { |
10 | ||
11 | Object.assign(this, config); | |
d0eb71f3 | 12 | } |
19e91cdd | 13 | } |