Implement Canvas::request_redraw

This commit is contained in:
Héctor Ramón Jiménez 2019-06-25 18:39:41 +02:00
parent 9c5657b86c
commit d5368d7979
3 changed files with 20 additions and 22 deletions

View file

@ -11,12 +11,6 @@ use crate::platform::web::WindowExtWebSys;
use crate::window::Window;
use web_sys::HtmlCanvasElement;
pub fn request_animation_frame<F>(f: F)
where
F: Fn(),
{
}
pub fn throw(msg: &str) {
wasm_bindgen::throw_str(msg);
}