MCPcopy 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
2200function classArray(string) {
2201 return string.trim().split(/^|\s+/);
2202}
2203
2204function classList(node) {
2205 return node.classList || new ClassList(node);

Callers 2

ClassListFunction · 0.85
selection_classedFunction · 0.85

Calls 2

splitMethod · 0.80
trimMethod · 0.80

Tested by

no test coverage detected