Sanity-check decaffeinate app.views.TypePage

pull/1441/head
Simon Legner 1 year ago
parent 5b3f7b9658
commit f465cc81e0

@ -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.TypePage = class TypePage extends app.View { app.views.TypePage = class TypePage extends app.View {
static initClass() { static className = "_page";
this.className = "_page";
}
deactivate() { deactivate() {
if (super.deactivate(...arguments)) { if (super.deactivate(...arguments)) {
@ -32,4 +22,3 @@ app.views.TypePage = class TypePage extends app.View {
this.render(context.type); this.render(context.type);
} }
}; };
app.views.TypePage.initClass();

Loading…
Cancel
Save