refactor: remove deprecation warnings, still used from widgets

when tpls are parsed via js
This commit is contained in:
Barış Soner Uşaklı
2024-09-19 09:40:58 -04:00
parent c3d97c6cf2
commit 3cee59f94d

View File

@@ -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