mirror of https://github.com/zulip/zulip.git
13 lines
212 B
JavaScript
13 lines
212 B
JavaScript
|
"use strict";
|
||
|
|
||
|
class FakeEvent {
|
||
|
constructor(type, props) {
|
||
|
this.type = type;
|
||
|
Object.assign(this, props);
|
||
|
}
|
||
|
preventDefault() {}
|
||
|
stopPropagation() {}
|
||
|
}
|
||
|
|
||
|
module.exports = FakeEvent;
|