MCPcopy Index your code
hub / github.com/witheve/Eve / classTest

Function classTest

src/codemirror.js:8465–8465  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

8463 };
8464
8465 function classTest(cls) { return new RegExp("(^|\\s)" + cls + "(?:$|\\s)\\s*"); }
8466 var rmClass = CodeMirror.rmClass = function(node, cls) {
8467 var current = node.className;
8468 var match = classTest(cls).exec(current);

Callers 2

codemirror.jsFile · 0.85
joinClassesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected