mr-crocs-adventures/js/events/BaseEvent.js
2020-01-22 22:50:45 +01:00

7 lines
159 B
JavaScript

export default class BaseEvent extends CustomEvent
{
constructor(name, detail) {
super(name, {detail: filename});
this.NAME = name;
}
}