2015-03-24 23:23:23 +03:00
|
|
|
var events = require('events'),
|
|
|
|
util = require('util'),
|
2015-10-09 21:27:49 +03:00
|
|
|
EventRegistry,
|
|
|
|
EventRegistryInstance;
|
2015-03-24 23:23:23 +03:00
|
|
|
|
|
|
|
EventRegistry = function () {};
|
|
|
|
util.inherits(EventRegistry, events.EventEmitter);
|
|
|
|
|
2015-10-09 21:27:49 +03:00
|
|
|
EventRegistryInstance = new EventRegistry();
|
|
|
|
EventRegistryInstance.setMaxListeners(100);
|
|
|
|
|
|
|
|
module.exports = EventRegistryInstance;
|