MCPcopy
hub / github.com/github/hotkey / setHTML

Function setHTML

test/test.js:9–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7}
8
9const setHTML = html => {
10 document.body.innerHTML = html
11
12 for (const element of document.querySelectorAll('[data-hotkey]')) {
13 install(element)
14 }
15}
16
17async function wait(ms) {
18 return new Promise(function (resolve) {

Callers 1

test.jsFile · 0.85

Calls 1

installFunction · 0.90

Tested by

no test coverage detected