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

7 lines
159 B
JavaScript

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