wip: more work on diffing machine

This commit is contained in:
Jonathan Kelley committed 2021-06-26 22:13:57 -04:00
1 parent ca3b80f069
commit 9813f23cdf
9 files changed
+172 -299

No files matched your search

+5 -1
View File
@@ -1,7 +1,7 @@
use crate::innerlude::*;
pub struct DebugDom {
counter: u32,
counter: u64,
}
impl DebugDom {
pub fn new() -> Self {
@@ -33,6 +33,10 @@ impl RealDom for DebugDom {
self.counter += 1;
RealDomNode::new(self.counter)
}
fn create_placeholder(&mut self) -> RealDomNode {
self.counter += 1;
RealDomNode::new(self.counter)
}
fn new_event_listener(
&mut self,