mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-22 13:14:58 +05:00
14 lines
196 B
JavaScript
14 lines
196 B
JavaScript
|
class BaseEvent {
|
||
|
constructor(options) {
|
||
|
/**
|
||
|
* @type {String}
|
||
|
*/
|
||
|
this.name = options.name;
|
||
|
/**
|
||
|
* @type {Boolean}
|
||
|
*/
|
||
|
this.once = options.once;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
module.exports = BaseEvent;
|