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

Function finishUpdate

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

Source from the content-addressed store, hash-verified

114 retrieveHints(completion.options.hint, completion.cm, completion.options, finishUpdate);
115 }
116 function finishUpdate(data_) {
117 data = data_;
118 if (finished) return;
119 if (!data || !data.list.length) return done();
120 if (completion.widget) completion.widget.close();
121 completion.widget = new Widget(completion, data);
122 }
123
124 function clearDebounce() {
125 if (debounce) {

Callers

nothing calls this directly

Calls 1

doneFunction · 0.70

Tested by

no test coverage detected