mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2025-07-29 07:01:35 +00:00
Remove helper comments
This commit is contained in:
@@ -10,7 +10,6 @@ class UserList extends ResourceList {
|
||||
this.listjs.list.addEventListener('click', (event) => {this.onClick(event)});
|
||||
}
|
||||
|
||||
// #region Mandatory getters and methods to implement
|
||||
get item() {
|
||||
return `
|
||||
<tr class="clickable hoverable">
|
||||
@@ -67,9 +66,7 @@ class UserList extends ResourceList {
|
||||
<ul class="pagination"></ul>
|
||||
`.trim();
|
||||
}
|
||||
// #endregion
|
||||
|
||||
// #region Optional methods to implement
|
||||
|
||||
mapResourceToValue(user) {
|
||||
return {
|
||||
'id': user.id,
|
||||
@@ -85,7 +82,6 @@ class UserList extends ResourceList {
|
||||
sort() {
|
||||
this.listjs.sort('member-since', {order: 'desc'});
|
||||
}
|
||||
// #endregion
|
||||
|
||||
onClick(event) {
|
||||
let userElement = event.target.closest('tr');
|
||||
|
Reference in New Issue
Block a user