Implement stdweb backend for web platform

This commit is contained in:
Héctor Ramón Jiménez 2019-06-27 00:02:46 +02:00
parent 1596cc5d9e
commit bb285984da
10 changed files with 355 additions and 906 deletions

View file

@ -11,10 +11,14 @@ mod event_loop;
mod monitor;
mod window;
#[cfg(feature = "web_sys")]
#[cfg(feature = "use_web-sys")]
#[path = "web_sys/mod.rs"]
mod backend;
#[cfg(feature = "use_stdweb")]
#[path = "stdweb/mod.rs"]
mod backend;
pub use self::device::Id as DeviceId;
pub use self::error::OsError;
pub use self::event_loop::{