fix: import in leptos_dom and add Wasm build to CI for regressions (#510)

This commit is contained in:
Greg Johnston 2023-02-12 18:58:57 -05:00 committed by GitHub
parent 51e11e756a
commit 6dd3be75d1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 2 deletions

View file

@ -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 = [

View file

@ -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();