mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-21 09:52:06 +03:00
15 lines
362 B
JavaScript
15 lines
362 B
JavaScript
var events = require('events'),
|
|
util = require('util'),
|
|
EventRegistry,
|
|
EventRegistryInstance;
|
|
|
|
EventRegistry = function () {
|
|
events.EventEmitter.call(this);
|
|
};
|
|
util.inherits(EventRegistry, events.EventEmitter);
|
|
|
|
EventRegistryInstance = new EventRegistry();
|
|
EventRegistryInstance.setMaxListeners(100);
|
|
|
|
module.exports = EventRegistryInstance;
|