feat: wire up event delegator for webview

This commit is contained in:
Jonathan Kelley committed 2021-07-24 02:52:05 -04:00
1 parent 0a907b35c6
commit 7dfe89c958
21 files changed
+265 -272

No files matched your search

-1
View File
@@ -1,4 +1,3 @@
use crate::util::is_valid_tag;
use proc_macro2::TokenStream as TokenStream2;
use quote::{quote, ToTokens, TokenStreamExt};
use syn::{
+1 -2
View File
@@ -273,8 +273,7 @@ fn parse_rsx_element_field(
let ty: AttrType = match name_str.as_str() {
// short circuit early if style is using the special syntax
"style" if stream.peek(Token![:]) => {
stream.parse::<Token![:]>().unwrap();
"style" if stream.peek(token::Brace) => {
let inner;
syn::braced!(inner in stream);