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

Function marker

static/editor.md/lib/codemirror/addon/fold/foldgutter.js:58–66  ·  view source on GitHub ↗
(spec)

Source from the content-addressed store, hash-verified

56 }
57
58 function marker(spec) {
59 if (typeof spec == "string") {
60 var elt = document.createElement("div");
61 elt.className = spec + " CodeMirror-guttermarker-subtle";
62 return elt;
63 } else {
64 return spec.cloneNode(true);
65 }
66 }
67
68 function updateFoldInfo(cm, from, to) {
69 var opts = cm.state.foldGutter.options, cur = from;

Callers 1

updateFoldInfoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected