|
@@ -1,15 +1,5 @@
|
|
|
-// 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
|
|
|
|
|
- */
|
|
|
|
|
app.views.RootPage = class RootPage extends app.View {
|
|
app.views.RootPage = class RootPage extends app.View {
|
|
|
- static initClass() {
|
|
|
|
|
- this.events = { click: "onClick" };
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ static events = { click: "onClick" };
|
|
|
|
|
|
|
|
init() {
|
|
init() {
|
|
|
if (!this.isHidden()) {
|
|
if (!this.isHidden()) {
|
|
@@ -54,4 +44,3 @@ app.views.RootPage = class RootPage extends app.View {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
};
|
|
};
|
|
|
-app.views.RootPage.initClass();
|
|
|