handle updating templates better

This commit is contained in:
Evan Almloff committed 2022-12-19 19:28:44 -06:00
1 parent 96ce704f8e
commit 4364a4b511
10 files changed
+67 -58

No files matched your search

+2 -2
View File
@@ -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!(
+1
View File
@@ -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;