Skip to content

Commit

Permalink
chore: release web build 0.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
carrascomj committed Oct 27, 2023
1 parent 7ef0961 commit f07640f
Show file tree
Hide file tree
Showing 7 changed files with 65 additions and 60 deletions.
Binary file added assets/fonts/Assistant-Regular.tttx
Binary file not shown.
Binary file added assets/fonts/FiraSans-Bold.tttx
Binary file not shown.
5 changes: 3 additions & 2 deletions docs/plotting.html
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,9 @@ <h2>Histogram position<a class="headerlink" href="#histogram-position" title="Pe
<p>After moving, rotating and scaling the axes as desired, all these new coordinates
can be saved to a new map in the settings window (only available for the desktop
app) for futures shu sessions.</p>
<p>A PNG/JPEG/BMP/TGA image of the map can also be exported through the settings
window (for all platforms and web).</p>
<p>An SVG image of the map can also be exported through the settings window (for all
platforms and the web). PNG/JPEG/BMP/TGA are also supported if the provided paths
have one of their corresponding extensions.</p>
</section>
<section id="hover">
<h2>Hover<a class="headerlink" href="#hover" title="Permalink to this heading"></a></h2>
Expand Down
4 changes: 2 additions & 2 deletions pkg/shu.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ export interface InitOutput {
readonly __wbindgen_malloc: (a: number, b: number) => number;
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
readonly __wbindgen_export_2: WebAssembly.Table;
readonly wasm_bindgen__convert__closures__invoke1_mut__h1162a503d3ee8f93: (a: number, b: number, c: number) => void;
readonly wasm_bindgen__convert__closures__invoke0_mut__hbc8cd897ce8c9a2e: (a: number, b: number) => void;
readonly wasm_bindgen__convert__closures__invoke1_mut__h2b2c42d4935bfa9e: (a: number, b: number, c: number) => void;
readonly wasm_bindgen__convert__closures__invoke0_mut__h7a0c72c44ac61ae9: (a: number, b: number) => void;
readonly __wbindgen_free: (a: number, b: number, c: number) => void;
readonly __wbindgen_exn_store: (a: number) => void;
readonly __wbindgen_start: () => void;
Expand Down
112 changes: 58 additions & 54 deletions pkg/shu.js
Original file line number Diff line number Diff line change
Expand Up @@ -214,11 +214,11 @@ function makeMutClosure(arg0, arg1, dtor, f) {
return real;
}
function __wbg_adapter_32(arg0, arg1, arg2) {
wasm.wasm_bindgen__convert__closures__invoke1_mut__h1162a503d3ee8f93(arg0, arg1, addHeapObject(arg2));
wasm.wasm_bindgen__convert__closures__invoke1_mut__h2b2c42d4935bfa9e(arg0, arg1, addHeapObject(arg2));
}

function __wbg_adapter_35(arg0, arg1) {
wasm.wasm_bindgen__convert__closures__invoke0_mut__hbc8cd897ce8c9a2e(arg0, arg1);
wasm.wasm_bindgen__convert__closures__invoke0_mut__h7a0c72c44ac61ae9(arg0, arg1);
}

function handleError(f, args) {
Expand Down Expand Up @@ -296,21 +296,25 @@ async function __wbg_load(module, imports) {
function __wbg_get_imports() {
const imports = {};
imports.wbg = {};
imports.wbg.__wbg_of_053899a68de3ef48 = function(arg0) {
const ret = Array.of(getObject(arg0));
imports.wbg.__wbindgen_string_new = function(arg0, arg1) {
const ret = getStringFromWasm0(arg0, arg1);
return addHeapObject(ret);
};
imports.wbg.__wbg_newwithu8arraysequence_6951fb5a516ffb36 = function() { return handleError(function (arg0) {
imports.wbg.__wbg_new_898a68150f225f2e = function() {
const ret = new Array();
return addHeapObject(ret);
};
imports.wbg.__wbg_push_ca1c26067ef907ac = function(arg0, arg1) {
const ret = getObject(arg0).push(getObject(arg1));
return ret;
};
imports.wbg.__wbg_newwithstrsequence_6b9d515005eb94ac = function() { return handleError(function (arg0) {
const ret = new Blob(getObject(arg0));
return addHeapObject(ret);
}, arguments) };
imports.wbg.__wbg_createObjectURL_d82f2880bada6a1d = function() { return handleError(function (arg0, arg1) {
const ret = URL.createObjectURL(getObject(arg1));
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
const len1 = WASM_VECTOR_LEN;
getInt32Memory0()[arg0 / 4 + 1] = len1;
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
}, arguments) };
imports.wbg.__wbg_click_9f2ce0ac84b1ce73 = function(arg0) {
getObject(arg0).click();
};
imports.wbg.__wbg_instanceof_HtmlElement_6f4725d4677c7968 = function(arg0) {
let result;
try {
Expand All @@ -321,16 +325,6 @@ function __wbg_get_imports() {
const ret = result;
return ret;
};
imports.wbg.__wbg_click_9f2ce0ac84b1ce73 = function(arg0) {
getObject(arg0).click();
};
imports.wbg.__wbg_revokeObjectURL_571395bdb196a1de = function() { return handleError(function (arg0, arg1) {
URL.revokeObjectURL(getStringFromWasm0(arg0, arg1));
}, arguments) };
imports.wbg.__wbindgen_string_new = function(arg0, arg1) {
const ret = getStringFromWasm0(arg0, arg1);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_string_get = function(arg0, arg1) {
const obj = getObject(arg1);
const ret = typeof(obj) === 'string' ? obj : undefined;
Expand All @@ -339,6 +333,14 @@ function __wbg_get_imports() {
getInt32Memory0()[arg0 / 4 + 1] = len1;
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
};
imports.wbg.__wbg_of_053899a68de3ef48 = function(arg0) {
const ret = Array.of(getObject(arg0));
return addHeapObject(ret);
};
imports.wbg.__wbg_newwithu8arraysequence_6951fb5a516ffb36 = function() { return handleError(function (arg0) {
const ret = new Blob(getObject(arg0));
return addHeapObject(ret);
}, arguments) };
imports.wbg.__wbg_setname_d54ea76b414f305e = function(arg0, arg1, arg2) {
getObject(arg0).name = getStringFromWasm0(arg1, arg2);
};
Expand Down Expand Up @@ -635,10 +637,6 @@ function __wbg_get_imports() {
const ret = typeof(getObject(arg0)) === 'string';
return ret;
};
imports.wbg.__wbg_msCrypto_bcb970640f50a1e8 = function(arg0) {
const ret = getObject(arg0).msCrypto;
return addHeapObject(ret);
};
imports.wbg.__wbg_require_8f08ceecec0f4fee = function() { return handleError(function () {
const ret = module.require;
return addHeapObject(ret);
Expand All @@ -651,6 +649,10 @@ function __wbg_get_imports() {
const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
return addHeapObject(ret);
}, arguments) };
imports.wbg.__wbg_msCrypto_bcb970640f50a1e8 = function(arg0) {
const ret = getObject(arg0).msCrypto;
return addHeapObject(ret);
};
imports.wbg.__wbg_newwithlength_e5d69174d6984cd7 = function(arg0) {
const ret = new Uint8Array(arg0 >>> 0);
return addHeapObject(ret);
Expand Down Expand Up @@ -821,17 +823,9 @@ function __wbg_get_imports() {
const ret = arg0;
return addHeapObject(ret);
};
imports.wbg.__wbg_new_898a68150f225f2e = function() {
const ret = new Array();
return addHeapObject(ret);
};
imports.wbg.__wbg_drawBuffersWEBGL_139bf2fe0c1522d6 = function(arg0, arg1) {
getObject(arg0).drawBuffersWEBGL(getObject(arg1));
};
imports.wbg.__wbg_push_ca1c26067ef907ac = function(arg0, arg1) {
const ret = getObject(arg0).push(getObject(arg1));
return ret;
};
imports.wbg.__wbg_drawBuffers_15d26e17a8d24ee0 = function(arg0, arg1) {
getObject(arg0).drawBuffers(getObject(arg1));
};
Expand Down Expand Up @@ -1140,6 +1134,16 @@ function __wbg_get_imports() {
getInt32Memory0()[arg0 / 4 + 1] = len1;
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
};
imports.wbg.__wbg_createObjectURL_d82f2880bada6a1d = function() { return handleError(function (arg0, arg1) {
const ret = URL.createObjectURL(getObject(arg1));
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
const len1 = WASM_VECTOR_LEN;
getInt32Memory0()[arg0 / 4 + 1] = len1;
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
}, arguments) };
imports.wbg.__wbg_revokeObjectURL_571395bdb196a1de = function() { return handleError(function (arg0, arg1) {
URL.revokeObjectURL(getStringFromWasm0(arg0, arg1));
}, arguments) };
imports.wbg.__wbg_bindFramebuffer_a9573e340dab20fe = function(arg0, arg1, arg2) {
getObject(arg0).bindFramebuffer(arg1 >>> 0, getObject(arg2));
};
Expand Down Expand Up @@ -1752,44 +1756,44 @@ function __wbg_get_imports() {
imports.wbg.__wbg_setProperty_b95ef63ab852879e = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
getObject(arg0).setProperty(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
}, arguments) };
imports.wbg.__wbindgen_closure_wrapper3409 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 287, __wbg_adapter_32);
imports.wbg.__wbindgen_closure_wrapper4189 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 1997, __wbg_adapter_32);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper4069 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 287, __wbg_adapter_35);
imports.wbg.__wbindgen_closure_wrapper4847 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 329, __wbg_adapter_35);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper27381 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 1949, __wbg_adapter_32);
imports.wbg.__wbindgen_closure_wrapper28681 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 1992, __wbg_adapter_32);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper27386 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 1949, __wbg_adapter_32);
imports.wbg.__wbindgen_closure_wrapper28686 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 1992, __wbg_adapter_32);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper27389 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 1949, __wbg_adapter_32);
imports.wbg.__wbindgen_closure_wrapper28689 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 1992, __wbg_adapter_32);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper27392 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 1949, __wbg_adapter_32);
imports.wbg.__wbindgen_closure_wrapper28692 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 1992, __wbg_adapter_32);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper27395 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 287, __wbg_adapter_32);
imports.wbg.__wbindgen_closure_wrapper28695 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 1997, __wbg_adapter_32);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper27398 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 1949, __wbg_adapter_32);
imports.wbg.__wbindgen_closure_wrapper28699 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 1992, __wbg_adapter_32);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper27401 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 1949, __wbg_adapter_32);
imports.wbg.__wbindgen_closure_wrapper28702 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 1992, __wbg_adapter_32);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper33101 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 287, __wbg_adapter_32);
imports.wbg.__wbindgen_closure_wrapper36037 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 1997, __wbg_adapter_32);
return addHeapObject(ret);
};

Expand Down
Binary file modified pkg/shu_bg.wasm
Binary file not shown.
4 changes: 2 additions & 2 deletions pkg/shu_bg.wasm.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ export function wgpu_render_bundle_push_debug_group(a: number, b: number): void;
export function __wbindgen_malloc(a: number, b: number): number;
export function __wbindgen_realloc(a: number, b: number, c: number, d: number): number;
export const __wbindgen_export_2: WebAssembly.Table;
export function wasm_bindgen__convert__closures__invoke1_mut__h1162a503d3ee8f93(a: number, b: number, c: number): void;
export function wasm_bindgen__convert__closures__invoke0_mut__hbc8cd897ce8c9a2e(a: number, b: number): void;
export function wasm_bindgen__convert__closures__invoke1_mut__h2b2c42d4935bfa9e(a: number, b: number, c: number): void;
export function wasm_bindgen__convert__closures__invoke0_mut__h7a0c72c44ac61ae9(a: number, b: number): void;
export function __wbindgen_free(a: number, b: number, c: number): void;
export function __wbindgen_exn_store(a: number): void;
export function __wbindgen_start(): void;

0 comments on commit f07640f

Please sign in to comment.