event.js
293 Bytes
module.exports = Event
function Event(family) {}
Event.prototype.initEvent = function _Event_initEvent(type, bubbles, cancelable) {
this.type = type
this.bubbles = bubbles
this.cancelable = cancelable
}
Event.prototype.preventDefault = function _Event_preventDefault() {
}