MCPcopy Create free account
hub / github.com/sql-js/sql.js / joinClasses

Function joinClasses

GUI/codemirror/lib/codemirror.js:7134–7139  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

7132 if (!classTest(cls).test(node.className)) node.className += " " + cls;
7133 }
7134 function joinClasses(a, b) {
7135 var as = a.split(" ");
7136 for (var i = 0; i < as.length; i++)
7137 if (as[i] && !classTest(as[i]).test(b)) b += " " + as[i];
7138 return b;
7139 }
7140
7141 // FEATURE DETECTION
7142

Callers 1

buildLineContentFunction · 0.85

Calls 1

classTestFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…