|
|
@@ -1,18 +1,8 @@
|
|
|
-// TODO: This file was created by bulk-decaffeinate.
|
|
|
-// Sanity-check the conversion and remove this comment.
|
|
|
-/*
|
|
|
- * decaffeinate suggestions:
|
|
|
- * DS102: Remove unnecessary code created because of implicit returns
|
|
|
- * DS206: Consider reworking classes to avoid initClass
|
|
|
- * Full docs: https://github.com/decaffeinate/decaffeinate/blob/main/docs/suggestions.md
|
|
|
- */
|
|
|
//= require views/list/paginated_list
|
|
|
|
|
|
app.views.EntryList = class EntryList extends app.views.PaginatedList {
|
|
|
- static initClass() {
|
|
|
- this.tagName = "div";
|
|
|
- this.className = "_list _list-sub";
|
|
|
- }
|
|
|
+ static tagName = "div";
|
|
|
+ static className = "_list _list-sub";
|
|
|
|
|
|
constructor(entries) {
|
|
|
super(...arguments);
|
|
|
@@ -30,4 +20,3 @@ app.views.EntryList = class EntryList extends app.views.PaginatedList {
|
|
|
return this.tmpl("sidebarEntry", entries);
|
|
|
}
|
|
|
};
|
|
|
-app.views.EntryList.initClass();
|