From 9ccbfe1b01f5c4b5a331db5a620dffa4d0d3cd9d Mon Sep 17 00:00:00 2001 From: Joaquin Pereyra Date: Wed, 9 Jul 2025 20:55:22 -0300 Subject: [PATCH] REMOVE unused hanldebars helpers --- module/helpers/handlebarsHelper.mjs | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/module/helpers/handlebarsHelper.mjs b/module/helpers/handlebarsHelper.mjs index 6db51225..33bb16af 100644 --- a/module/helpers/handlebarsHelper.mjs +++ b/module/helpers/handlebarsHelper.mjs @@ -4,11 +4,9 @@ export default class RegisterHandlebarsHelpers { static registerHelpers() { Handlebars.registerHelper({ times: this.times, - join: this.join, add: this.add, subtract: this.subtract, includes: this.includes, - case: this.case }); } @@ -18,10 +16,6 @@ export default class RegisterHandlebarsHelpers { return accum; } - static join(...options) { - return options.slice(0, options.length - 1); - } - static add(a, b) { const aNum = Number.parseInt(a); const bNum = Number.parseInt(b); @@ -38,10 +32,4 @@ export default class RegisterHandlebarsHelpers { return list.includes(item); } - static case(value, options) { - if (value == this.switch_value) { - this.switch_break = true; - return options.fn(this); - } - } }