mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-01 02:12:26 +00:00
chore(agents): run innerhtml-migration-agent daily task — migrate js/channelProfile.js
- Replaced 10 instances of `innerHTML` with safe DOM APIs (`createElement`, `replaceChildren`, `textContent`). - Extracted Zap Panel creation to `createZapPanelContent` helper. - Extracted Subscribe Button creation logic. - Updated `scripts/check-innerhtml.mjs` baseline (count reduced by 10). - Verified via lint, unit tests, and Playwright verification. Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
1 parent
6aa9da1383
commit
fffca30fb6
8 files changed
+232
-112
No files matched your search
@@ -24,7 +24,6 @@ const SOURCE_DIR = join(ROOT, "js");
|
||||
const BASELINE = {
|
||||
"js/app.js": 1,
|
||||
"js/app/feedCoordinator.js": 1,
|
||||
"js/channelProfile.js": 10,
|
||||
"js/docsView.js": 8,
|
||||
"js/exploreView.js": 1,
|
||||
"js/forYouView.js": 1,
|
||||
|
||||
Reference in new issue
Block a user