remove useless alert
parent
0feca4f8da
commit
be175ed7df
|
|
@ -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")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue