wip: rename fc to component
This commit is contained in:
1 parent
85ab8b91c6
commit
1e4a599d14
61 files changed
+524
-145
No files matched your search
@@ -44,7 +44,11 @@ pub mod on {
|
||||
// ie copy
|
||||
let shortname: &'static str = &event_name[2..];
|
||||
|
||||
c.listener(shortname, callback)
|
||||
let handler = EventHandler {
|
||||
callback: bump.alloc(std::cell::RefCell::new(Some(callback))),
|
||||
};
|
||||
|
||||
c.listener(shortname, handler)
|
||||
}
|
||||
)*
|
||||
)*
|
||||
|
||||
Reference in new issue
Block a user