Skip to content
This repository has been archived by the owner on Mar 2, 2021. It is now read-only.

Commit

Permalink
Fix misleading comments about render component in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
MichalObi committed Apr 24, 2019
1 parent 1aa4600 commit e7c524c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/game-of-life/src/lib.rs
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ pub fn run() {
// Create a new Game of Life `Universe` render component.
let universe = Universe::new();

// Create a virtual DOM and mount it and the `Hello` render component to the
// Create a virtual DOM and mount it and the `Universe` render component to the
// `<body>`.
let vdom = Vdom::new(body.as_ref(), universe);

Expand Down
2 changes: 1 addition & 1 deletion examples/js-component/src/lib.rs
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ pub fn run() {
// Create a new `GreetingViaJs` render component.
let component = GreetingViaJs::new("World");

// Create a virtual DOM and mount it and the `Hello` render component to the
// Create a virtual DOM and mount it and the `GreetingViaJs` render component to the
// `<body>`.
let vdom = Vdom::new(body.as_ref(), component);

Expand Down
2 changes: 1 addition & 1 deletion examples/moire/src/lib.rs
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ pub fn run() {
// Create a new `Moire` render component.
let component = Moire::new();

// Create a virtual DOM and mount it and the `Hello` render component to the
// Create a virtual DOM and mount it and the `Moire` render component to the
// scene.
let vdom = Vdom::new(&scene, component);

Expand Down

0 comments on commit e7c524c

Please sign in to comment.