From 2a2e1583f260830fba4ac7c319b2b8f7bb5a34b8 Mon Sep 17 00:00:00 2001 From: Ben Beltran Date: Sat, 21 Apr 2018 02:51:20 -0500 Subject: Call super when constructing node collection --- lib/serpentity/node_collection.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib') diff --git a/lib/serpentity/node_collection.js b/lib/serpentity/node_collection.js index bb66a8d..73998b1 100644 --- a/lib/serpentity/node_collection.js +++ b/lib/serpentity/node_collection.js @@ -14,6 +14,8 @@ const NodeCollection = class NodeCollection extends Events { constructor(config) { + super(); + this.nodes = []; this.type = null; -- cgit