remove useless alert
This commit is contained in:
@@ -9,11 +9,6 @@ use wasm_bindgen::JsCast;
|
|||||||
#[global_allocator]
|
#[global_allocator]
|
||||||
static ALLOC: wee_alloc::WeeAlloc = wee_alloc::WeeAlloc::INIT;
|
static ALLOC: wee_alloc::WeeAlloc = wee_alloc::WeeAlloc::INIT;
|
||||||
|
|
||||||
#[wasm_bindgen]
|
|
||||||
extern "C" {
|
|
||||||
fn alert(s: &str);
|
|
||||||
}
|
|
||||||
|
|
||||||
fn le_document() -> web_sys::Document {
|
fn le_document() -> web_sys::Document {
|
||||||
let window = web_sys::window().expect("pas de window");
|
let window = web_sys::window().expect("pas de window");
|
||||||
window.document().expect("pas_de_document")
|
window.document().expect("pas_de_document")
|
||||||
|
|||||||
Reference in New Issue
Block a user