]> git.r.bdr.sh - rbdr/serpentity/blob - lib/serpentity/component.js
Merge branch 'release/3.0.0'
[rbdr/serpentity] / lib / serpentity / component.js
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 */
7
8 export class Component {
9 constructor(config) {
10
11 Object.assign(this, config);
12 }
13 }