MCPcopy Create free account
hub / github.com/ronreiter/interactive-tutorials / startWorker

Function startWorker

static/js/codemirror/codemirror.js:856–859  ·  view source on GitHub ↗
(cm, time)

Source from the content-addressed store, hash-verified

854 // HIGHLIGHT WORKER
855
856 function startWorker(cm, time) {
857 if (cm.doc.mode.startState && cm.doc.frontier < cm.display.showingTo)
858 cm.state.highlight.set(time, bind(highlightWorker, cm));
859 }
860
861 function highlightWorker(cm) {
862 var doc = cm.doc;

Callers 4

loadModeFunction · 0.85
updateDisplayInnerFunction · 0.85
highlightWorkerFunction · 0.85

Calls 2

bindFunction · 0.85
setMethod · 0.45

Tested by

no test coverage detected