Make sure events gets initialized

This commit is contained in:
Jason Williams 2016-04-09 19:20:56 -05:00
parent 267ddef9b7
commit f17d29c5a2

View File

@ -3,7 +3,9 @@ var events = require('events'),
EventRegistry,
EventRegistryInstance;
EventRegistry = function () {};
EventRegistry = function () {
events.EventEmitter.call(this);
};
util.inherits(EventRegistry, events.EventEmitter);
EventRegistryInstance = new EventRegistry();