Commit 6fe2f682 authored by Florian Blasius's avatar Florian Blasius 🤘

web: code cleanup

parent e0fbf91e
Pipeline #9143 passed with stage
in 1 minute and 15 seconds
extern crate wasm_bindgen;
extern crate web_sys;
use std::{cell::{Cell, Ref, RefCell},
fmt::format,
use std::{cell::{Cell, RefCell},
rc::Rc};
use self::wasm_bindgen::{prelude::*, Clamped, JsCast};
......@@ -192,10 +191,6 @@ impl Window {
None
}
// pub fn event_sender(&self) -> sdl2::event::EventSender {
// unsafe { &mut *SDL_CTX }.event().unwrap().event_sender()
// }
pub fn clipboard(&self) -> String {
log("clipboard not yet implemented for web");
String::default()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment