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

Function Ln

resources/vega-embed.min.js:3283–3294  ·  view source on GitHub ↗
(e, t = {})

Source from the content-addressed store, hash-verified

3281 return { ...t, ...(i ? { patch: i } : {}), ...(r ? { config: r } : {}) };
3282 }
3283 async function Ln(e, t = {}) {
3284 const n = document.createElement("div");
3285 n.classList.add("vega-embed-wrapper");
3286 const r = document.createElement("div");
3287 n.appendChild(r);
3288 const i =
3289 !0 === t.actions || !1 === t.actions
3290 ? t.actions
3291 : { export: !0, source: !1, compiled: !0, editor: !0, ...t.actions },
3292 o = await In(r, e, { actions: i, ...t });
3293 return ((n.value = o.view), n);
3294 }
3295 const Nn = (...t) => {
3296 return t.length > 1 &&
3297 ((e.isString(t[0]) &&

Callers 1

NnFunction · 0.70

Calls 2

InFunction · 0.70
addMethod · 0.45

Tested by

no test coverage detected