fix non extending attributes
This commit is contained in:
1 parent
7b51bb8060
commit
b60671e0fe
6 files changed
+70
-48
No files matched your search
@@ -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,)* }];
|
||||
)*
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -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};
|
||||
}
|
||||
Reference in new issue
Block a user