From be175ed7df7c1fe1002ebefacd3e3befde6d1444 Mon Sep 17 00:00:00 2001 From: Florent Becker Date: Thu, 14 Apr 2022 18:29:57 +0200 Subject: [PATCH] remove useless alert --- src/lib.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index cf2f366..9b0e7ad 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -9,11 +9,6 @@ use wasm_bindgen::JsCast; #[global_allocator] static ALLOC: wee_alloc::WeeAlloc = wee_alloc::WeeAlloc::INIT; -#[wasm_bindgen] -extern "C" { - fn alert(s: &str); -} - fn le_document() -> web_sys::Document { let window = web_sys::window().expect("pas de window"); window.document().expect("pas_de_document")