Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
9
const
setHTML = html => {
10
document.body.innerHTML = html
11
12
for
(
const
element of document.querySelectorAll(
'[data-hotkey]'
)) {
13
install(element)
14
}
15
}
16
17
async
function
wait(ms) {
18
return
new
Promise(
function
(resolve) {
Callers
1
test.js
File · 0.85
Calls
1
install
Function · 0.90
Tested by
no test coverage detected