v0.4 #1

Open
rob wants to merge 7 commits from dev into master
2 changed files with 4 additions and 1 deletions
Showing only changes of commit 348b03d4ea - Show all commits

View File

@ -83,5 +83,8 @@ pub use weblog_proc_macro::*;
#[cfg(feature = "web_sys")] #[cfg(feature = "web_sys")]
pub use ::web_sys; pub use ::web_sys;
#[cfg(feature = "web_sys")]
pub use ::wasm_bindgen;
#[cfg(feature = "std_web")] #[cfg(feature = "std_web")]
pub use self::console::std_web::*; pub use self::console::std_web::*;

View File

@ -69,7 +69,7 @@ fn quote_arg(arg: &Expr, arg_mode: ArgMode) -> TokenStream2 {
quote! { #arg } quote! { #arg }
} }
ArgMode::IntoJsValue => { ArgMode::IntoJsValue => {
quote! { &::std::convert::Into::<::wasm_bindgen::JsValue>::into(#arg) } quote! { &::std::convert::Into::<::weblog::wasm_bindgen::JsValue>::into(#arg) }
} }
} }
} }