mirror of
https://github.com/leptos-rs/leptos
synced 2024-11-10 06:44:17 +00:00
fix: import in leptos_dom
and add Wasm build to CI for regressions (#510)
This commit is contained in:
parent
51e11e756a
commit
6dd3be75d1
2 changed files with 7 additions and 2 deletions
|
@ -12,13 +12,18 @@ dependencies = ["build", "check-examples", "test"]
|
|||
|
||||
[tasks.build]
|
||||
clear = true
|
||||
dependencies = ["build-all"]
|
||||
dependencies = ["build-all", "build-wasm"]
|
||||
|
||||
[tasks.build-all]
|
||||
command = "cargo"
|
||||
args = ["+nightly", "build-all-features"]
|
||||
install_crate = "cargo-all-features"
|
||||
|
||||
[tasks.build-wasm]
|
||||
command = "cargo"
|
||||
args = ["+nightly", "build-all-features", "--target=wasm32-unknown-unknown"]
|
||||
install_crate = "cargo-all-features"
|
||||
|
||||
[tasks.check-examples]
|
||||
clear = true
|
||||
dependencies = [
|
||||
|
|
|
@ -443,7 +443,7 @@ impl<El: ElementDescriptor + 'static> HtmlElement<El> {
|
|||
let waker = Rc::new(RefCell::new(None::<Waker>));
|
||||
let ready = Rc::new(OnceCell::new());
|
||||
|
||||
crate::request_animation_frame({
|
||||
crate::helpers::request_animation_frame({
|
||||
let waker = waker.clone();
|
||||
let ready = ready.clone();
|
||||
|
||||
|
|
Loading…
Reference in a new issue