Implement stdweb backend for web platform
This commit is contained in:
parent
1596cc5d9e
commit
bb285984da
10 changed files with 355 additions and 906 deletions
|
|
@ -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::{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue