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

Function startServer

static/editor.md/lib/codemirror/addon/tern/worker.js:31–40  ·  view source on GitHub ↗
(defs, plugins, scripts)

Source from the content-addressed store, hash-verified

29}
30
31function startServer(defs, plugins, scripts) {
32 if (scripts) importScripts.apply(null, scripts);
33
34 server = new tern.Server({
35 getFile: getFile,
36 async: true,
37 defs: defs,
38 plugins: plugins
39 });
40}
41
42var console = {
43 log: function(v) { postMessage({type: "debug", message: v}); }

Callers 1

worker.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected