MCPcopy Create free account
hub / github.com/alignoth/alignoth / jm

Function jm

resources/vega-lite.min.js:11608–11629  ·  view source on GitHub ↗
(e, t)

Source from the content-addressed store, hash-verified

11606 : jm(e, "range");
11607 }
11608 function jm(e, t) {
11609 const n = e.component.scales;
11610 for (const n of e.children) "range" === t ? Tm(n) : Nm(n, t);
11611 for (const i of D(n)) {
11612 let r;
11613 for (const n of e.children) {
11614 const e = n.component.scales[i];
11615 if (e) {
11616 r = uc(
11617 r,
11618 e.getWithExplicit(t),
11619 t,
11620 "scale",
11621 lc((e, n) =>
11622 "range" === t && e.step && n.step ? e.step - n.step : 0,
11623 ),
11624 );
11625 }
11626 }
11627 n[i].setWithExplicit(t, r);
11628 }
11629 }
11630 function Em(e, t, n, i) {
11631 const r = (function (e, t, n, i) {
11632 switch (t.type) {

Callers 2

NmFunction · 0.70
TmFunction · 0.70

Calls 7

NmFunction · 0.85
DFunction · 0.85
lcFunction · 0.85
getWithExplicitMethod · 0.80
setWithExplicitMethod · 0.80
TmFunction · 0.70
ucFunction · 0.70

Tested by

no test coverage detected