remove useless alert

master
Florent Becker 2022-04-14 18:29:57 +02:00
parent 0feca4f8da
commit be175ed7df
1 changed files with 0 additions and 5 deletions

View File

@ -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")