From 0585d8300d67f5138b3039e9640cc7b85befeb1a Mon Sep 17 00:00:00 2001 From: Simon Legner Date: Sat, 6 Jan 2024 14:46:23 +0100 Subject: [PATCH] Sanity-check decaffeinate app.collections.Entries --- assets/javascripts/collections/entries.js | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/assets/javascripts/collections/entries.js b/assets/javascripts/collections/entries.js index f948f7af..2ea74707 100644 --- a/assets/javascripts/collections/entries.js +++ b/assets/javascripts/collections/entries.js @@ -1,13 +1,3 @@ -// TODO: This file was created by bulk-decaffeinate. -// Sanity-check the conversion and remove this comment. -/* - * decaffeinate suggestions: - * DS206: Consider reworking classes to avoid initClass - * Full docs: https://github.com/decaffeinate/decaffeinate/blob/main/docs/suggestions.md - */ app.collections.Entries = class Entries extends app.Collection { - static initClass() { - this.model = "Entry"; - } + static model = "Entry"; }; -app.collections.Entries.initClass();