Disable domain tests, started base tests.
This commit is contained in:
parent
42d5add810
commit
0abb22130f
6 changed files with 194 additions and 46 deletions
|
@ -79,7 +79,8 @@ export class BaseEventEmitter {
|
|||
if(eventType.includes(" ")) { // Unlisten to several different events with the same listener.
|
||||
let found = false
|
||||
for(const type of eventType.split(" "))
|
||||
found ||= this.off(eventType, eventListener)
|
||||
found ||= this.off(type, eventListener)
|
||||
return found
|
||||
} else {
|
||||
if(!this.constructor.emits.includes(eventType)) {
|
||||
const className = this.constructor.name
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue