diff --git a/extensions/StateMachine/pkg/stateflow_trans_ext.js b/extensions/StateMachine/pkg/stateflow_trans_ext.js index fcf5887..d24dd0c 100644 --- a/extensions/StateMachine/pkg/stateflow_trans_ext.js +++ b/extensions/StateMachine/pkg/stateflow_trans_ext.js @@ -248,6 +248,10 @@ async function __wbg_load(module, imports) { function __wbg_get_imports() { const imports = {}; imports.wbg = {}; + imports.wbg.__wbindgen_is_function = function(arg0) { + const ret = typeof(getObject(arg0)) === 'function'; + return ret; + }; imports.wbg.__wbindgen_object_drop_ref = function(arg0) { takeObject(arg0); }; @@ -259,10 +263,6 @@ function __wbg_get_imports() { const ret = getObject(arg0); return addHeapObject(ret); }; - imports.wbg.__wbindgen_is_function = function(arg0) { - const ret = typeof(getObject(arg0)) === 'function'; - return ret; - }; imports.wbg.__wbindgen_string_get = function(arg0, arg1) { const obj = getObject(arg1); const ret = typeof(obj) === 'string' ? obj : undefined; @@ -271,6 +271,9 @@ function __wbg_get_imports() { getInt32Memory0()[arg0 / 4 + 1] = len1; getInt32Memory0()[arg0 / 4 + 0] = ptr1; }; + imports.wbg.__wbg_alert_36d8fb43aa48a428 = function(arg0, arg1) { + alert(getStringFromWasm0(arg0, arg1)); + }; imports.wbg.__wbindgen_jsval_eq = function(arg0, arg1) { const ret = getObject(arg0) === getObject(arg1); return ret; @@ -285,9 +288,6 @@ function __wbg_get_imports() { const ret = result; return ret; }; - imports.wbg.__wbg_log_1746d5c75ec89963 = function(arg0, arg1) { - console.log(getObject(arg0), getObject(arg1)); - }; imports.wbg.__wbg_get_bd8e338fbd5f5cc8 = function(arg0, arg1) { const ret = getObject(arg0)[arg1 >>> 0]; return addHeapObject(ret); diff --git a/extensions/StateMachine/pkg/stateflow_trans_ext_bg.wasm b/extensions/StateMachine/pkg/stateflow_trans_ext_bg.wasm index b7c9803..7c2d777 100644 Binary files a/extensions/StateMachine/pkg/stateflow_trans_ext_bg.wasm and b/extensions/StateMachine/pkg/stateflow_trans_ext_bg.wasm differ