MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / sendDoc

Function sendDoc

lib/web/CodeMirror/addon/tern/tern.js:198–203  ·  view source on GitHub ↗
(ts, doc)

Source from the content-addressed store, hash-verified

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

Callers 2

tern.jsFile · 0.85
trackChangeFunction · 0.85

Calls 2

docValueFunction · 0.85
errorMethod · 0.45

Tested by

no test coverage detected