feat: track images with git lfs

This commit is contained in:
2024-04-04 19:17:27 +02:00
parent 5f2b2f59be
commit 9776b5a84a
193 changed files with 3295 additions and 4620 deletions

View File

@ -0,0 +1,15 @@
use wasm_bindgen::prelude::*;
pub fn unwrap_int(val: JsValue) -> u8 {
if val.is_undefined() || val.is_null() {
panic!("Value is undefined");
}
return val.as_f64().unwrap() as u8;
}
pub fn unwrap_float(val: JsValue) -> f64 {
if val.is_undefined() || val.is_null() {
panic!("Value is undefined");
}
return val.as_f64().unwrap();
}

View File

@ -0,0 +1,2 @@
mod helpers;
pub use helpers::*;