Merge branch 'master' into fix-event-bubbling
This commit is contained in:
59 files changed
+1473
-402
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user