Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/breck7/scroll
/ classArray
Function
classArray
external/.d3.js:2200–2202 ·
view source on GitHub ↗
(string)
Source
from the content-addressed store, hash-verified
2198
}
2199
2200
function
classArray(string) {
2201
return
string.trim().split(/^|\s+/);
2202
}
2203
2204
function
classList(node) {
2205
return
node.classList ||
new
ClassList(node);
Callers
2
ClassList
Function · 0.85
selection_classed
Function · 0.85
Calls
2
split
Method · 0.80
trim
Method · 0.80
Tested by
no test coverage detected