cleanup special 'definedProperties' field in Node

'definedProperties' seems like module-meta-data, which shouldn't be on a Node instance.
This commit is contained in:
Sebastian Thiel authored and Jeff Avallone committed 2016-07-27 11:12:56 -04:00
1 parent 95b283faa8
commit a624c00554
2 files changed
+4 -1

No files matched your search

+2
View File
@@ -30,6 +30,8 @@ export default class Node {
_.forOwn(this.definedProperties || {}, (methods, name) => {
Object.defineProperty(this, name, methods);
});
delete this.definedProperties;
}
// The SVG element to render this node into. A node-type class is