MCPcopy Index your code
hub / github.com/outerbase/studio / jb

Function jb

public/sqljs/sql-wasm.js:1016–1041  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1014 }
1015 }
1016 function jb() {
1017 if (!La && (ya || za)) {
1018 if ("function" === typeof fetch && !Q.startsWith("file://"))
1019 return fetch(Q, { credentials: "same-origin" })
1020 .then(function (a) {
1021 if (!a.ok) throw "failed to load wasm binary file at '" + Q + "'";
1022 return a.arrayBuffer();
1023 })
1024 .catch(function () {
1025 return ib();
1026 });
1027 if (Da)
1028 return new Promise(function (a, b) {
1029 Da(
1030 Q,
1031 function (c) {
1032 a(new Uint8Array(c));
1033 },
1034 b
1035 );
1036 });
1037 }
1038 return Promise.resolve().then(function () {
1039 return ib();
1040 });
1041 }
1042 var P, O;
1043 function kb(a) {
1044 for (; 0 < a.length; ) {

Callers 1

cFunction · 0.85

Calls 2

ibFunction · 0.85
aFunction · 0.85

Tested by

no test coverage detected