mr-crocs-adventures/js/events/BaseEvent.js

7 lines
159 B
JavaScript
Raw Permalink Normal View History

2020-01-22 22:50:45 +01:00
export default class BaseEvent extends CustomEvent
{
constructor(name, detail) {
super(name, {detail: filename});
this.NAME = name;
}
}