MCPcopy Index your code
hub / github.com/DHTMLX/gantt / joinClasses

Function joinClasses

samples/common/codehighlight/codemirror.js:133–138  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

131 if (!classTest(cls).test(current)) { node.className += (current ? " " : "") + cls; }
132 }
133 function joinClasses(a, b) {
134 var as = a.split(" ");
135 for (var i = 0; i < as.length; i++)
136 { if (as[i] && !classTest(as[i]).test(b)) { b += " " + as[i]; } }
137 return b
138 }
139
140 var selectInput = function(node) { node.select(); };
141 if (ios) // Mobile Safari apparently has a bug where select() is broken.

Callers 1

buildLineContentFunction · 0.85

Calls 1

classTestFunction · 0.85

Tested by

no test coverage detected