embark/lib/core/events.js

13 lines
284 B
JavaScript

//TODO: This is deprecated because Embark extends EventEmitter now
let events = require('events');
class EventEmitter {
constructor(options) {
this.options = options;
}
}
EventEmitter.prototype = Object.create(events.EventEmitter.prototype);
module.exports = EventEmitter;