mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-30 21:40:39 +03:00
Make sure events gets initialized
This commit is contained in:
parent
267ddef9b7
commit
f17d29c5a2
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user