Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/breck7/scroll
/ addText
Function
addText
external/.scrollLibs.js:12513–12518 ·
view source on GitHub ↗
(str)
Source
from the content-addressed store, hash-verified
12511
}
12512
}
12513
function
addText(str) {
12514
if
(str) {
12515
close()
12516
text += str
12517
}
12518
}
12519
function
walk(node) {
12520
if
(node.nodeType == 1) {
12521
var
cmText = node.getAttribute(
"cm-text"
)
Callers
1
walk
Function · 0.85
Calls
1
close
Function · 0.70
Tested by
no test coverage detected