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

Function Sp

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

Source from the content-addressed store, hash-verified

13488 return e;
13489 }
13490 function Sp(e, t) {
13491 for (const n of xp) {
13492 const i = uc(
13493 e.getWithExplicit(n),
13494 t.getWithExplicit(n),
13495 n,
13496 "axis",
13497 (e, t) => {
13498 switch (n) {
13499 case "title":
13500 return In(e, t);
13501 case "gridScale":
13502 return { explicit: e.explicit, value: U(e.value, t.value) };
13503 }
13504 return cc(e, t, n, "axis");
13505 },
13506 );
13507 e.setWithExplicit(n, i);
13508 }
13509 return e;
13510 }
13511 function Dp(e, t, n, i, r) {
13512 if ("disable" === t) return void 0 !== n;
13513 switch (((n = n || {}), t)) {

Callers 1

kpFunction · 0.70

Calls 6

getWithExplicitMethod · 0.80
setWithExplicitMethod · 0.80
ucFunction · 0.70
InFunction · 0.70
UFunction · 0.70
ccFunction · 0.70

Tested by

no test coverage detected