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

Function compareBidiLevel

static/mergely/lib/codemirror.js:8647–8652  ·  view source on GitHub ↗
(order, a, b)

Source from the content-addressed store, hash-verified

8645 }
8646
8647 function compareBidiLevel(order, a, b) {
8648 var linedir = order[0].level;
8649 if (a == linedir) return true;
8650 if (b == linedir) return false;
8651 return a < b;
8652 }
8653 var bidiOther;
8654 function getBidiPartAt(order, pos) {
8655 bidiOther = null;

Callers 1

getBidiPartAtFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected