mirror of
https://github.com/bigskysoftware/htmx.git
synced 2026-04-12 15:04:56 +00:00
update release version in docs (missed due to bad version number)
This commit is contained in:
@@ -33,7 +33,7 @@ By removing these arbitrary constraints htmx completes HTML as a
|
||||
|
||||
```html
|
||||
<!-- Load from unpkg -->
|
||||
<script src="https://unpkg.com/htmx.org@0.2.1"></script>
|
||||
<script src="https://unpkg.com/htmx.org@0.3.0"></script>
|
||||
<!-- have a button POST a click via AJAX -->
|
||||
<button hx-post="/clicked" hx-swap="outerHTML">
|
||||
Click Me
|
||||
|
||||
@@ -97,7 +97,7 @@ It can be used via [NPM](https://www.npmjs.com/) as "`htmx.org`" or downloaded o
|
||||
[unpkg](https://unpkg.com/browse/htmx.org/) or your other favorite NPM-based CDN:
|
||||
|
||||
``` html
|
||||
<script src="https://unpkg.com/htmx.org@0.2.1"></script>
|
||||
<script src="https://unpkg.com/htmx.org@0.3.0"></script>
|
||||
```
|
||||
|
||||
## <a name="ajax"></a> [AJAX](#ajax)
|
||||
|
||||
@@ -36,7 +36,7 @@ By removing these arbitrary constraints htmx completes HTML as a
|
||||
|
||||
```html
|
||||
<!-- Load from unpkg -->
|
||||
<script src="https://unpkg.com/htmx.org@0.2.1"></script>
|
||||
<script src="https://unpkg.com/htmx.org@0.3.0"></script>
|
||||
<!-- have a button POST a click via AJAX -->
|
||||
<button hx-post="/clicked" hx-swap="outerHTML">
|
||||
Click Me
|
||||
|
||||
Reference in New Issue
Block a user