fix: sync with master
This commit is contained in:
1 parent
cc7736302a
commit
c409fecaaf
2 files changed
+3
-5
No files matched your search
@@ -152,7 +152,7 @@ impl VirtualDom {
|
|||||||
listeners.drain(..).for_each(|listener| {
|
listeners.drain(..).for_each(|listener| {
|
||||||
let listener = unsafe { &*listener };
|
let listener = unsafe { &*listener };
|
||||||
if let AttributeValue::Listener(l) = &listener.value {
|
if let AttributeValue::Listener(l) = &listener.value {
|
||||||
_ = l.take();
|
_ = l.0.take();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -197,11 +197,9 @@ impl WebsysDom {
|
|||||||
},
|
},
|
||||||
SetText { value, id } => i.set_text(id.0 as u32, value),
|
SetText { value, id } => i.set_text(id.0 as u32, value),
|
||||||
NewEventListener { name, id, .. } => {
|
NewEventListener { name, id, .. } => {
|
||||||
i.new_event_listener(name, id.0 as u32, event_bubbles(&name[2..]) as u8);
|
i.new_event_listener(name, id.0 as u32);
|
||||||
}
|
|
||||||
RemoveEventListener { name, id } => {
|
|
||||||
i.remove_event_listener(name, id.0 as u32, event_bubbles(&name[2..]) as u8)
|
|
||||||
}
|
}
|
||||||
|
RemoveEventListener { name, id } => i.remove_event_listener(name, id.0 as u32),
|
||||||
Remove { id } => i.remove(id.0 as u32),
|
Remove { id } => i.remove(id.0 as u32),
|
||||||
PushRoot { id } => i.push_root(id.0 as u32),
|
PushRoot { id } => i.push_root(id.0 as u32),
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user