Added initial window module functionality. (#57)
This commit is contained in:
parent
125136ae79
commit
9c3cd94275
9 changed files with 931 additions and 29 deletions
|
@ -43,7 +43,6 @@ mod inner {
|
|||
|
||||
#[wasm_bindgen(module = "/src/core.js")]
|
||||
extern "C" {
|
||||
#[wasm_bindgen]
|
||||
pub async fn invoke(cmd: &str, args: JsValue) -> JsValue;
|
||||
#[wasm_bindgen(js_name = "invoke", catch)]
|
||||
pub async fn invoke_result(cmd: &str, args: JsValue) -> Result<JsValue, JsValue>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue