embark-area-51/lib/core/events.js

13 lines
284 B
JavaScript
Raw Normal View History

//TODO: This is deprecated because Embark extends EventEmitter now
2017-03-30 11:12:39 +00:00
let events = require('events');
class EventEmitter {
constructor(options) {
this.options = options;
}
}
EventEmitter.prototype = Object.create(events.EventEmitter.prototype);
module.exports = EventEmitter;