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

Function themeChanged

samples/common/codehighlight/codemirror.js:7655–7659  ·  view source on GitHub ↗
(cm)

Source from the content-addressed store, hash-verified

7653 }
7654
7655 function themeChanged(cm) {
7656 cm.display.wrapper.className = cm.display.wrapper.className.replace(/\s*cm-s-\S+/g, "") +
7657 cm.options.theme.replace(/(^|\s)\s*/g, " cm-s-");
7658 clearCaches(cm);
7659 }
7660
7661 var Init = {toString: function(){return "CodeMirror.Init"}};
7662

Callers 2

defineOptionsFunction · 0.85
CodeMirrorFunction · 0.85

Calls 1

clearCachesFunction · 0.85

Tested by

no test coverage detected