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

Function compareBidiLevel

static/editor.md/lib/codemirror/lib/codemirror.js:8404–8409  ·  view source on GitHub ↗
(order, a, b)

Source from the content-addressed store, hash-verified

8402 }
8403
8404 function compareBidiLevel(order, a, b) {
8405 var linedir = order[0].level;
8406 if (a == linedir) return true;
8407 if (b == linedir) return false;
8408 return a < b;
8409 }
8410 var bidiOther;
8411 function getBidiPartAt(order, pos) {
8412 bidiOther = null;

Callers 1

getBidiPartAtFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected