-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
9 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,7 +34,7 @@ By removing these arbitrary constraints htmx completes HTML as a | |
## quick start | ||
|
||
```html | ||
<script src="https://unpkg.com/[email protected].0"></script> | ||
<script src="https://unpkg.com/[email protected].1"></script> | ||
<!-- have a button POST a click via AJAX --> | ||
<button hx-post="/clicked" hx-swap="outerHTML"> | ||
Click Me | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -113,7 +113,7 @@ The fastest way to get going with htmx is to load it via a CDN. You can simply a | |
and get going: | ||
|
||
```html | ||
<script src="https://unpkg.com/[email protected].0" integrity="sha384-cZuAZ+ZbwkNRnrKi05G/fjBX+azI9DNOkNYysZ0I/X5ZFgsmMiBXgDZof30F5ofc" crossorigin="anonymous"></script> | ||
<script src="https://unpkg.com/[email protected].1" integrity="sha384-DXaTz/CiqGNRLEu025rPC9D2gEK8Imn+w1e1QtdYD0Bap7LIcHOYjUZAO96YDCX3" crossorigin="anonymous"></script> | ||
``` | ||
|
||
While the CDN approach is extremely simple, you may want to consider [not using CDNs in production](https://blog.wesleyac.com/posts/why-not-javascript-cdn). | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ directly in HTML, using [attributes](https://htmx.org/reference#attributes), so | |
[modern user interfaces](https://htmx.org/examples) with the [simplicity](https://en.wikipedia.org/wiki/HATEOAS) and | ||
[power](https://www.ics.uci.edu/~fielding/pubs/dissertation/rest_arch_style.htm) of hypertext | ||
|
||
htmx is small ([~10k min.gz'd](https://unpkg.com/htmx.org/dist/)), | ||
htmx is small ([~12k min.gz'd](https://unpkg.com/htmx.org/dist/)), | ||
[dependency-free](https://github.com/bigskysoftware/htmx/blob/master/package.json), | ||
[extendable](https://htmx.org/extensions) & | ||
IE11 compatible | ||
|
@@ -33,7 +33,7 @@ By removing these arbitrary constraints, htmx completes HTML as a [hypertext](ht | |
## quick start | ||
|
||
```html | ||
<script src="https://unpkg.com/[email protected].0"></script> | ||
<script src="https://unpkg.com/[email protected].1"></script> | ||
<!-- have a button POST a click via AJAX --> | ||
<button hx-post="/clicked" hx-swap="outerHTML"> | ||
Click Me | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters