mirror of
https://github.com/visioncortex/vtracer.git
synced 2025-12-07 09:36:09 -08:00
Source Release
This commit is contained in:
7
webapp/src/common.rs
Executable file
7
webapp/src/common.rs
Executable file
@@ -0,0 +1,7 @@
|
||||
pub fn window() -> web_sys::Window {
|
||||
web_sys::window().unwrap()
|
||||
}
|
||||
|
||||
pub fn document() -> web_sys::Document {
|
||||
window().document().unwrap()
|
||||
}
|
||||
Reference in New Issue
Block a user