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

Function Tv

resources/vega.min.js:14460–14470  ·  view source on GitHub ↗
(t, e)

Source from the content-addressed store, hash-verified

14458 }
14459 const $v = (t) => (t === kv || t === Av || t === Mv ? [kv, Av, Mv] : [t]);
14460 function Tv(t, e) {
14461 $v(e).forEach((e) =>
14462 (function (t, e) {
14463 const n = t.canvas();
14464 n &&
14465 !t._events[e] &&
14466 ((t._events[e] = 1),
14467 n.addEventListener(e, t[e] ? (n) => t[e](n) : (n) => t.fire(e, n)));
14468 })(t, e),
14469 );
14470 }
14471 function Bv(t, e, n) {
14472 e.forEach((e) => t.fire(e, n));
14473 }

Callers 2

initializeMethod · 0.85
onMethod · 0.85

Calls 3

$vFunction · 0.85
fireMethod · 0.80
canvasMethod · 0.45

Tested by

no test coverage detected