1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-26 14:49:06 -04:00

Fix HTTP web demo (#3407)

* Revert ttf-parser from 0.19.2 to 0.19.1

0.19.2's doesn't work with wasm in debug builds

* Update to poll-promise 0.3.0

* Publish new web demo

* Fix typo in changelog

* Explain why image_viewer is not part of the official web demo app

* Fix typos

* Make rfd native-only dependency
This commit is contained in:
Emil Ernerfeldt
2023-09-28 12:06:55 +02:00
committed by GitHub
parent 5a0186fa2b
commit d975c1a401
9 changed files with 44 additions and 41 deletions

View File

@@ -221,13 +221,9 @@ function makeMutClosure(arg0, arg1, dtor, f) {
return real;
}
function __wbg_adapter_30(arg0, arg1) {
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h54fbb157f59a2683(arg0, arg1);
}
function __wbg_adapter_33(arg0, arg1) {
try {
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h9fa0c407dfa9f6e4(retptr, arg0, arg1);
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hd926101060f0783e(retptr, arg0, arg1);
var r0 = getInt32Memory0()[retptr / 4 + 0];
var r1 = getInt32Memory0()[retptr / 4 + 1];
if (r1) {
@@ -238,8 +234,12 @@ function __wbg_adapter_33(arg0, arg1) {
}
}
function __wbg_adapter_33(arg0, arg1) {
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h5e12b61ce76cf0a6(arg0, arg1);
}
function __wbg_adapter_36(arg0, arg1, arg2) {
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h055a2b486a30731f(arg0, arg1, addHeapObject(arg2));
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h2000f7e9add97f30(arg0, arg1, addHeapObject(arg2));
}
function makeClosure(arg0, arg1, dtor, f) {
@@ -446,7 +446,7 @@ function __wbg_get_imports() {
const ret = arg0;
return addHeapObject(ret);
};
imports.wbg.__wbg_error_ef675d96d0bf24dc = function(arg0, arg1) {
imports.wbg.__wbg_error_e38422e56bbd072c = function(arg0, arg1) {
let deferred0_0;
let deferred0_1;
try {
@@ -457,11 +457,11 @@ function __wbg_get_imports() {
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
}
};
imports.wbg.__wbg_new_475b88b4c50a6bba = function() {
imports.wbg.__wbg_new_e7fbaa407e13d590 = function() {
const ret = new Error();
return addHeapObject(ret);
};
imports.wbg.__wbg_stack_d45172f0caa39e17 = function(arg0, arg1) {
imports.wbg.__wbg_stack_21698d2a5852e13e = function(arg0, arg1) {
const ret = getObject(arg1).stack;
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
const len1 = WASM_VECTOR_LEN;
@@ -472,17 +472,17 @@ function __wbg_get_imports() {
const ret = getObject(arg0);
return addHeapObject(ret);
};
imports.wbg.__wbg_trace_822e2ec9f55bdc14 = function(arg0, arg1) {
console.trace(getStringFromWasm0(arg0, arg1));
imports.wbg.__wbg_warn_a95766347500bf17 = function(arg0, arg1) {
console.warn(getStringFromWasm0(arg0, arg1));
};
imports.wbg.__wbg_debug_02a842456bfd3d07 = function(arg0, arg1) {
console.debug(getStringFromWasm0(arg0, arg1));
};
imports.wbg.__wbg_info_9914de2e2314812b = function(arg0, arg1) {
imports.wbg.__wbg_info_7589c99c14cdc5ef = function(arg0, arg1) {
console.info(getStringFromWasm0(arg0, arg1));
};
imports.wbg.__wbg_warn_0d84cc9f60d72161 = function(arg0, arg1) {
console.warn(getStringFromWasm0(arg0, arg1));
imports.wbg.__wbg_debug_97244d3ec765cb44 = function(arg0, arg1) {
console.debug(getStringFromWasm0(arg0, arg1));
};
imports.wbg.__wbg_trace_71659133a99ab3e3 = function(arg0, arg1) {
console.trace(getStringFromWasm0(arg0, arg1));
};
imports.wbg.__wbindgen_number_get = function(arg0, arg1) {
const obj = getObject(arg1);
@@ -1685,28 +1685,28 @@ function __wbg_get_imports() {
const ret = wasm.memory;
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper3454 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 1227, __wbg_adapter_30);
imports.wbg.__wbindgen_closure_wrapper3452 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 1232, __wbg_adapter_30);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper3455 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 1227, __wbg_adapter_33);
imports.wbg.__wbindgen_closure_wrapper3453 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 1232, __wbg_adapter_33);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper3457 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 1227, __wbg_adapter_36);
imports.wbg.__wbindgen_closure_wrapper3456 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 1232, __wbg_adapter_36);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper3609 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 1302, __wbg_adapter_39);
imports.wbg.__wbindgen_closure_wrapper3605 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 1300, __wbg_adapter_39);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper3611 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 1302, __wbg_adapter_39);
imports.wbg.__wbindgen_closure_wrapper3607 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 1300, __wbg_adapter_39);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper3658 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 1330, __wbg_adapter_44);
imports.wbg.__wbindgen_closure_wrapper3654 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 1328, __wbg_adapter_44);
return addHeapObject(ret);
};

Binary file not shown.