MCPcopy Index your code
hub / github.com/scriptscat/scriptcat / logLine

Function logLine

example/tests/gm_xhr_test.js:179–184  ·  view source on GitHub ↗
(html, cls = "")

Source from the content-addressed store, hash-verified

177 panel.querySelector("#start").addEventListener("click", runAll);
178
179 function logLine(html, cls = "") {
180 const line = h("div", { style: { padding: "6px 0", borderBottom: "1px dashed #2a2a2a" } });
181 line.innerHTML = html;
182 if (cls) line.className = cls;
183 $log.prepend(line);
184 }
185
186 function setCounts(p, f, s) {
187 $counts.textContent = `✅ ${p} ❌ ${f} ⏳ ${s}`;

Callers 4

passFunction · 0.70
failFunction · 0.70
skipFunction · 0.70
runAllFunction · 0.70

Calls 1

hFunction · 0.70

Tested by

no test coverage detected