MCPcopy Create free account
hub / github.com/TruthHun/BookStack / done

Function done

static/editor.md/lib/codemirror/addon/hint/show-hint.js:103–109  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

101 var cancelAnimationFrame = window.cancelAnimationFrame || clearTimeout;
102
103 function done() {
104 if (finished) return;
105 finished = true;
106 completion.close();
107 completion.cm.off("cursorActivity", activity);
108 if (data) CodeMirror.signal(data, "close");
109 }
110
111 function update() {
112 if (finished) return;

Callers 1

finishUpdateFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected