From 3cee59f94d266471c7fa7ea60337172da33bf0cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Thu, 19 Sep 2024 09:40:58 -0400 Subject: [PATCH] refactor: remove deprecation warnings, still used from widgets when tpls are parsed via js --- public/src/utils.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/public/src/utils.js b/public/src/utils.js index 0dff1892e1..f98fa1d051 100644 --- a/public/src/utils.js +++ b/public/src/utils.js @@ -16,7 +16,6 @@ utils.getLanguage = function () { utils.makeNumbersHumanReadable = function (elements) { - console.warn('[deprecated] utils.makeNumbersHumanReadable is deprecated! Use {humanReadableNumber(value)} helper directly in the template'); elements.each(function () { const $this = $(this); const toFixed = $this.attr('data-toFixed') || 1; @@ -26,7 +25,6 @@ utils.makeNumbersHumanReadable = function (elements) { }; utils.addCommasToNumbers = function (elements) { - console.warn('[deprecated] utils.addCommasToNumbers is deprecated! Use {formattedNumber(value)} helper directly in the template'); elements.each(function (index, element) { const $element = $(element); $element