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

Function sendDoc

static/editor.md/lib/codemirror/addon/tern/tern.js:195–200  ·  view source on GitHub ↗
(ts, doc)

Source from the content-addressed store, hash-verified

193 }
194
195 function sendDoc(ts, doc) {
196 ts.server.request({files: [{type: "full", name: doc.name, text: docValue(ts, doc)}]}, function(error) {
197 if (error) window.console.error(error);
198 else doc.changed = null;
199 });
200 }
201
202 // Completion
203

Callers 2

tern.jsFile · 0.85
trackChangeFunction · 0.85

Calls 1

docValueFunction · 0.85

Tested by

no test coverage detected