mirror of
				https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
				synced 2025-11-04 12:22:47 +00:00 
			
		
		
		
	Minor Codestyle updates.
This commit is contained in:
		@@ -88,8 +88,8 @@ class RessourceList {
 | 
				
			|||||||
      </tr>
 | 
					      </tr>
 | 
				
			||||||
    `.trim();
 | 
					    `.trim();
 | 
				
			||||||
    this.listjs.list.style.cursor = 'pointer';
 | 
					    this.listjs.list.style.cursor = 'pointer';
 | 
				
			||||||
    this.userId = listElement.dataset.userId;
 | 
					    this.userId = this.listjs.listContainer.dataset.userId;
 | 
				
			||||||
    if (typeof this.onclick === 'function') {this.listjs.list.addEventListener('click', event => this.onclick(event));}
 | 
					    this.listjs.list.addEventListener('click', event => this.onclick(event));
 | 
				
			||||||
    if (this.userId) {
 | 
					    if (this.userId) {
 | 
				
			||||||
      app.addEventListener('users.patch', patch => this.usersPatchHandler(patch));
 | 
					      app.addEventListener('users.patch', patch => this.usersPatchHandler(patch));
 | 
				
			||||||
      app.getUserById(this.userId).then(
 | 
					      app.getUserById(this.userId).then(
 | 
				
			||||||
@@ -115,9 +115,9 @@ class RessourceList {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  init(user) {throw 'Not implemented';}
 | 
					  init(user) {throw 'Not implemented';}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  usersPatchHandler(patch) {throw 'Not implemented';}
 | 
					  onclick(event) {throw 'Not implemented';}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  preprocessRessource() {throw 'Not implemented'}
 | 
					  usersPatchHandler(patch) {throw 'Not implemented';}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  add(ressources) {
 | 
					  add(ressources) {
 | 
				
			||||||
    let values = Array.isArray(ressources) ? ressources : [ressources];
 | 
					    let values = Array.isArray(ressources) ? ressources : [ressources];
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user