Showing the changes to assets/javascripts (1 of 1 file). Show all
Unified · Split
| @@ -1,15 +1,5 @@ | ||
| 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 | app.views.RootPage = class RootPage extends app.View { |
| 10 | − static initClass() { | |
| 11 | − this.events = { click: "onClick" }; | |
| 12 | − } | |
| 2 | + static events = { click: "onClick" }; | |
| 13 | 3 | |
| 14 | 4 | init() { |
| 15 | 5 | if (!this.isHidden()) { |
| @@ -54,4 +44,3 @@ app.views.RootPage = class RootPage extends app.View { · 38 unmodified lines | ||
| 54 | 44 | } |
| 55 | 45 | } |
| 56 | 46 | }; |
| 57 | −app.views.RootPage.initClass(); | |