handle updating templates better
This commit is contained in:
1 parent
96ce704f8e
commit
4364a4b511
10 files changed
+67
-58
No files matched your search
@@ -205,9 +205,9 @@ macro_rules! builder_constructors {
|
||||
};
|
||||
)*
|
||||
) => {
|
||||
pub struct Html;
|
||||
pub struct HtmlCtx;
|
||||
|
||||
impl HotReloadingContext for Html {
|
||||
impl HotReloadingContext for HtmlCtx {
|
||||
fn map_attribute(element: &str, attribute: &str) -> Option<(&'static str, Option<&'static str>)> {
|
||||
$(
|
||||
impl_element_match_attributes!(
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
//! Currently, we don't validate for structures, but do validate attributes.
|
||||
|
||||
mod elements;
|
||||
pub use elements::HtmlCtx;
|
||||
pub mod events;
|
||||
pub mod geometry;
|
||||
mod global_attributes;
|
||||
|
||||
Reference in new issue
Block a user