pub fn now() -> f64 {
    use stdweb::unstable::TryInto;

    // https://developer.mozilla.org/en-US/docs/Web/API/Performance/now
    let v = js! { return performance.now(); };
    v.try_into().unwrap()
}
// Needed because the js macro triggers it.
Needed because the js macro triggers it.
Needed because the js macro triggers it .
pub fn now() -> f64 {
    use stdweb::unstable::TryInto;
    // https://developer.mozilla.org/en-US/docs/Web/API/Performance/now
    let v = js! { return performance.now(); };
    v.try_into().unwrap()
}
pub fn now ( ) -> f64 { use stdweb :: unstable :: TryInto ; // https://developer.mozilla.org/en-US/docs/Web/API/Performance/now let v = js ! { return performance now ( ) } ; v . try_into ( ) . unwrap ( ) }
Needed because the js macro triggers it.
Needed because the js macro triggers it .