Add testing for HtmlElementCreator and fix ...args calls

All args passthrough class where missing the leading "..."

Added Testing to HtmlElementCreator
This commit is contained in:
2025-03-10 17:02:17 +09:00
parent 31d71afe47
commit 2f9333da54
5 changed files with 687 additions and 8 deletions

View File

@@ -197,7 +197,7 @@ function roundPrecision(number, prec) // eslint-disable-line no-unused-vars
// @ts-ignore
function formatString(string, ...args) // eslint-disable-line no-unused-vars
{
return _formatString(string, args);
return _formatString(string, ...args);
}
/**
@@ -775,7 +775,7 @@ function ael(base, attach, id = '') // eslint-disable-line no-unused-vars
// @ts-ignore
function aelx(base, ...attach) // eslint-disable-line no-unused-vars
{
return hec.aelx(base, attach);
return hec.aelx(base, ...attach);
}
/**