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

Function cmp

static/editor.md/lib/codemirror/addon/fold/xml-fold.js:15–15  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

13
14 var Pos = CodeMirror.Pos;
15 function cmp(a, b) { return a.line - b.line || a.ch - b.ch; }
16
17 var nameStartChar = "A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD";
18 var nameChar = nameStartChar + "\-\:\.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040";

Callers 1

xml-fold.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected