mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 16:14:02 +00:00
This lets us simplify the long-ish ‘../../static/js’ paths, and will remove the need for the ‘zrequire’ wrapper. Signed-off-by: Anders Kaseorg <anders@zulip.com>
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;
|