wasm-bindgen/crates/js-sys/tests/wasm/main.rs
Nick Fitzgerald 61fc8d2567 Js sys once over (#550)
* js-sys: Return `f64` instead of `Number`

* js-sys: remove trailing whitespace

* js-sys: Ensure that all imported types derive Clone and Debug

* js-sys: Imported functions should always take JS object arguments by-ref
2018-07-25 16:33:44 -05:00

35 lines
620 B
Rust
Executable File

#![cfg(target_arch = "wasm32")]
#![feature(use_extern_macros)]
#![allow(non_snake_case)]
extern crate js_sys;
extern crate wasm_bindgen;
extern crate wasm_bindgen_test;
pub mod global_fns;
pub mod Array;
pub mod ArrayBuffer;
pub mod ArrayIterator;
pub mod Boolean;
pub mod DataView;
pub mod Date;
pub mod Error;
pub mod Function;
pub mod Generator;
pub mod Intl;
pub mod JsString;
pub mod Map;
pub mod MapIterator;
pub mod Math;
pub mod Number;
pub mod Object;
pub mod Proxy;
pub mod Reflect;
pub mod Set;
pub mod SetIterator;
pub mod Symbol;
pub mod TypedArray;
pub mod WeakMap;
pub mod WeakSet;
pub mod WebAssembly;