fix non extending attributes

This commit is contained in:
Evan Almloff committed 2023-09-27 10:02:49 -05:00
1 parent 7b51bb8060
commit b60671e0fe
6 files changed
+70 -48

No files matched your search

+7 -2
View File
@@ -111,8 +111,6 @@ macro_rules! impl_element {
}
impl GlobalAttributes for $name {}
impl_extension_attributes![ELEMENT $name { $($fil,)* }];
};
(
@@ -289,6 +287,13 @@ macro_rules! builder_constructors {
}
);
)*
pub(crate) mod extensions {
use super::*;
$(
impl_extension_attributes![ELEMENT $name { $($fil,)* }];
)*
}
};
}
+7
View File
@@ -39,7 +39,14 @@ pub use render_template::*;
mod eval;
pub mod extensions {
pub use crate::elements::extensions::*;
pub use crate::global_attributes::{GlobalAttributesExtension, SvgAttributesExtension};
}
pub mod prelude {
pub use crate::elements::extensions::*;
pub use crate::eval::*;
pub use crate::events::*;
pub use crate::global_attributes::{GlobalAttributesExtension, SvgAttributesExtension};
}