Clean up stray files; fix widget.html hasOwnProperty; fix package.json test script

Co-authored-by: yhlhoh <205733785+yhlhoh@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]andyhlhoh committed 2026-03-17 02:51:26 +00:00
1 parent a845707585
commit 55b1d861cc
7 files changed
+2 -1392

No files matched your search

+1 -3
View File
@@ -137,9 +137,7 @@
function fillPlaceholders(html, contentData) {
if (!html || !contentData) return html || '';
return html.replace(/\{\{(\w+)\}\}/g, (match, key) => {
return Object.prototype.hasOwnProperty.call(contentData, key)
? String(contentData[key])
: match;
return key in contentData ? String(contentData[key]) : match;
});
}