Skip to content

Commit

Permalink
finishing touches
Browse files Browse the repository at this point in the history
  • Loading branch information
carson committed Feb 17, 2022
1 parent 7620421 commit 6a91c29
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions www/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -939,6 +939,9 @@ The response for that url will be the innerHTML of the template, making it easy

You may embed simple expressions in the template with the `${}` syntax.

Note that this should only be used for demos and is in no way guaranteed to work for long periods of time
as it will always be grabbing the latest versions htmx and hyperscript!

#### Demo Example

Here is an example of the code in action:
Expand Down
4 changes: 2 additions & 2 deletions www/js/demo/it.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function initMockRequests() {
}
}

addScript("https://unpkg.com/htmx.org@1.6.1/dist/htmx.js");
addScript("https://unpkg.com/hyperscript.org@0.9.4/dist/_hyperscript_w9y.min.js");
addScript("https://unpkg.com/htmx.org");
addScript("https://unpkg.com/hyperscript.org");
addScript("https://unpkg.com/[email protected]/index.js");
initMockRequests();

0 comments on commit 6a91c29

Please sign in to comment.