14 lines
293 B
JavaScript
14 lines
293 B
JavaScript
|
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() {
|
||
|
|
||
|
}
|