test wasm

This commit is contained in:
SowinskiBraeden committed 2026-10-20 22:58:27 -07:00
1 parent b209099d7b
commit 0376c84ed1
1 file changed
+9 -9
+9 -9
View File
@@ -126,12 +126,12 @@ impl Strategy {
}
}
// #[wasm_bindgen]
// extern "C" {
// fn alert(s: &str);
// }
//
// #[wasm_bindgen]
// pub fn greet() {
// alert("Hello, visual-strategy!");
// }
#[wasm_bindgen]
extern "C" {
fn alert(s: &str);
}
#[wasm_bindgen]
pub fn greet() {
alert("Hello, visual-strategy!");
}