Skip to content

Commit

Permalink
tweaking intro code snippet for better IO+Reader clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
getify committed Nov 17, 2023
1 parent 4badfe4 commit 4fa1063
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ defn getFavoriteMovies(userID) ^(IO ~<< {
"",
(html, title) { `"`html`<li>`title`</li>" }
);
::document.body.setHTML(`"<ul>`itemsHTML`</ul>")
::setBodyHTML(`"<ul>`itemsHTML`</ul>")
});

getFavoriteMovies(123).run()
getFavoriteMovies(123).run(document)
```

### TL;DR
Expand Down

0 comments on commit 4fa1063

Please sign in to comment.