edit message
This commit is contained in:
parent
f9657aaebb
commit
a382cae914
@ -47,10 +47,11 @@ cfg_if::cfg_if! {
|
|||||||
|
|
||||||
#[wasm_bindgen(start)]
|
#[wasm_bindgen(start)]
|
||||||
pub fn start() -> Result<(), wasm_bindgen::JsValue> {
|
pub fn start() -> Result<(), wasm_bindgen::JsValue> {
|
||||||
tracing::info!("Initializing...");
|
tracing::info!("Starting...");
|
||||||
|
|
||||||
// Used in order to hook into `panic!()` to log in the browser's console
|
// Used in order to hook into `panic!()` to log in the browser's console
|
||||||
tracing_wasm::set_as_global_default();
|
tracing_wasm::set_as_global_default();
|
||||||
tracing::info!("Starting App...");
|
|
||||||
eframe::start_web("canvas", Box::new(|cc| Box::new(math_app::MathApp::new(cc))))
|
eframe::start_web("canvas", Box::new(|cc| Box::new(math_app::MathApp::new(cc))))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user