Remove Debug statements

This commit is contained in:
Patrick Jentsch 2021-01-18 13:21:39 +01:00
parent 18c96fce4b
commit 6bc5e5f7b1
2 changed files with 0 additions and 14 deletions

View File

@ -6,7 +6,6 @@ class CorpusList extends RessourceList {
}
init(corpora) {
console.log('CorpusList.init called');
this.corpora = corpora;
super.init(corpora);
}

View File

@ -24,18 +24,6 @@ class User {
corpus: {
addEventListener(listener, corpusId='*') {
if (corpusId in this) {this[corpusId].push(listener);} else {this[corpusId] = [listener];}
if (this.data !== undefined) {
console.log('User data is already initialized');
if (corpusId === '*') {
console.log('*');
listener(this.data.corpora);
} else if (corpusId in this.data.corpora) {
console.log(corpusId);
listener(this.data.corpora[corpusId]);
}
} else {
console.log('User data is not initialized');
}
}
},
job: {
@ -52,7 +40,6 @@ class User {
}
init(data) {
console.log('User.init called');
this.data = data;
for (let [corpusId, eventListeners] of Object.entries(this.eventListeners.corpus)) {