Skip to content

Commit

Permalink
Fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
chinedufn committed May 27, 2019
1 parent 330b928 commit 161d900
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/isomorphic/app/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ router-rs = { path = "../../../crates/router-rs"}
log = "0.4.6"
serde = { version = "1", features = ["rc", "derive"] }
serde_json = "1"
wasm-bindgen = { version = "0.2.33", features = ["serde-serialize"] }
wasm-bindgen = { version = "0.2.45", features = ["serde-serialize"] }
web-sys = "0.3.10"
js-sys = "0.3.2"
2 changes: 1 addition & 1 deletion examples/isomorphic/app/src/views/home_view.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ impl View for HomeView {
{ nav_bar }

<span> The button has been clicked: { click_component } times! </span>
<button onclick=move|_: u8| { store.borrow_mut().msg(&Msg::Click) }>
<button onclick=move|_: web_sys::Event| { store.borrow_mut().msg(&Msg::Click) }>
Click me!
</button>
<div> In this time Ferris has made { click_count } new friends. </div>
Expand Down
4 changes: 2 additions & 2 deletions examples/isomorphic/client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ crate-type = ["cdylib"]
console_error_panic_hook = "0.1"
console_log = "0.1.2"
isomorphic-app = { path = "../app" }
js-sys = "0.3.20"
js-sys = "0.3"
log = "0.4.6"
virtual-dom-rs = { path = "../../../crates/virtual-dom-rs" }

[dependencies.wasm-bindgen]
version = "0.2.33"
version = "0.2.45"
features = ["default", "nightly"]

[dependencies.web-sys]
Expand Down
2 changes: 2 additions & 0 deletions examples/isomorphic/client/build-wasm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

cd $(dirname $0)

set -e

mkdir -p build/
mkdir -p dist/

Expand Down

0 comments on commit 161d900

Please sign in to comment.