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

Function Yo

resources/vega.min.js:3128–3141  ·  view source on GitHub ↗
(t)

Source from the content-addressed store, hash-verified

3126 s("No file system access.");
3127 }
3128 function Yo(t) {
3129 return t
3130 ? async function (e, n) {
3131 const r = ot({}, this.options.http, n),
3132 i = n && n.response,
3133 o = await t(e, r);
3134 return o.ok
3135 ? J(o[i])
3136 ? o[i]()
3137 : o.text()
3138 : s(o.status + "" + o.statusText);
3139 }
3140 : Go;
3141 }
3142 async function Go() {
3143 s("No HTTP fetch method available.");
3144 }

Callers 1

vega.min.jsFile · 0.70

Calls 4

otFunction · 0.70
tFunction · 0.70
JFunction · 0.70
sFunction · 0.70

Tested by

no test coverage detected