]> git.r.bdr.sh - rbdr/serpentity/commitdiff
Call super when constructing node collection
authorBen Beltran <redacted>
Sat, 21 Apr 2018 07:51:20 +0000 (02:51 -0500)
committerBen Beltran <redacted>
Sat, 21 Apr 2018 07:51:20 +0000 (02:51 -0500)
lib/serpentity/node_collection.js

index bb66a8db67c7f1e06720faeab77bec7328c8c490..73998b123500f36a6a3b828b672d10720235bfe8 100644 (file)
@@ -14,6 +14,8 @@ const NodeCollection = class NodeCollection extends Events {
 
   constructor(config) {
 
+    super();
+
     this.nodes = [];
     this.type = null;