]> git.r.bdr.sh - rbdr/serpentity/blob - lib/serpentity/component.js
707da7a6810e6c1bdd6b4818e0266d937515cc5d
[rbdr/serpentity] / lib / serpentity / component.js
1 'use strict';
2
3 /*
4 * Components store data. Nothing to say here really, just
5 * inherit and add a prototype, or don't even inherit, see?
6 * It's just an empty class, so what I'm trying to say is your
7 * components can be any class whatsoever.
8 */
9
10 const Component = class Component {
11 constructor(config) {
12
13 Object.assign(this, config);
14 }
15 };
16
17 module.exports = Component;