Unified · Split
| @@ -1,18 +1,8 @@ | ||
| 1 | −// TODO: This file was created by bulk-decaffeinate. | |
| 2 | −// Sanity-check the conversion and remove this comment. | |
| 3 | −/* | |
| 4 | − * decaffeinate suggestions: | |
| 5 | − * DS102: Remove unnecessary code created because of implicit returns | |
| 6 | − * DS206: Consider reworking classes to avoid initClass | |
| 7 | − * Full docs: https://github.com/decaffeinate/decaffeinate/blob/main/docs/suggestions.md | |
| 8 | − */ | |
| 9 | 1 | //= require views/list/paginated_list |
| 10 | 2 | |
| 11 | 3 | app.views.EntryList = class EntryList extends app.views.PaginatedList { |
| 12 | − static initClass() { | |
| 13 | − this.tagName = "div"; | |
| 14 | − this.className = "_list _list-sub"; | |
| 15 | − } | |
| 4 | + static tagName = "div"; | |
| 5 | + static className = "_list _list-sub"; | |
| 16 | 6 | |
| 17 | 7 | constructor(entries) { |
| 18 | 8 | super(...arguments); |
| @@ -30,4 +20,3 @@ app.views.EntryList = class EntryList extends app.views.PaginatedList { · 11 unmodified lines | ||
| 30 | 20 | return this.tmpl("sidebarEntry", entries); |
| 31 | 21 | } |
| 32 | 22 | }; |
| 33 | −app.views.EntryList.initClass(); | |