Merge branch 'master' into fix-event-bubbling

This commit is contained in:
Jonathan Kelley authored and GitHub committed 2024-01-04 10:06:27 -08:00
commit 922d9c8c05
59 files changed
+1473 -402

No files matched your search

+2 -1
View File
@@ -225,7 +225,7 @@ impl<'b> VirtualDom {
});
}
/// We write all the descndent data for this element
/// We write all the descendent data for this element
///
/// Elements can contain other nodes - and those nodes can be dynamic or static
///
@@ -443,6 +443,7 @@ impl<'b> VirtualDom {
#[allow(unused_mut)]
pub(crate) fn register_template(&mut self, mut template: Template<'static>) {
let (path, byte_index) = template.name.rsplit_once(':').unwrap();
let byte_index = byte_index.parse::<usize>().unwrap();
// First, check if we've already seen this template
if self