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

Function classTest

samples/common/codehighlight/codemirror.js:50–50  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

48 var captureRightClick = gecko || (ie && ie_version >= 9);
49
50 function classTest(cls) { return new RegExp("(^|\\s)" + cls + "(?:$|\\s)\\s*") }
51
52 var rmClass = function(node, cls) {
53 var current = node.className;

Callers 5

rmClassFunction · 0.85
addClassFunction · 0.85
joinClassesFunction · 0.85
updateLineWidgetsFunction · 0.85
codemirror.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected