forked from bigskysoftware/htmx
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# Conflicts: # dist/ext/sse.js # dist/ext/ws.js # dist/htmx.d.ts # dist/htmx.js # dist/htmx.min.js # dist/htmx.min.js.gz # package.json # src/ext/sse.js # src/htmx.d.ts # src/htmx.js # test/attributes/hx-sse.js # test/core/regressions.js # test/ext/sse.js # www/static/src/ext/sse.js # www/static/src/htmx.d.ts # www/static/src/htmx.js # www/static/test/attributes/hx-sse.js # www/static/test/core/regressions.js # www/static/test/ext/sse.js # www/themes/htmx-theme/static/js/htmx.js
- Loading branch information
Showing
8 changed files
with
16 additions
and
11 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
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 |
---|---|---|
|
@@ -33,7 +33,7 @@ By removing these arbitrary constraints htmx completes HTML as a | |
## quick start | ||
|
||
```html | ||
<script src="https://unpkg.com/[email protected].10"></script> | ||
<script src="https://unpkg.com/[email protected].11"></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
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 |
---|---|---|
|
@@ -37,7 +37,7 @@ By removing these constraints, htmx completes HTML as a [hypertext](https://en.w | |
<h2>quick start</h2> | ||
|
||
```html | ||
<script src="https://unpkg.com/[email protected].10"></script> | ||
<script src="https://unpkg.com/[email protected].11"></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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -119,7 +119,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].10" integrity="sha384-D1Kt99CQMDuVetoL1lrYwg5t+9QdHe7NLX/SoJYkXDFfX37iInKRy5xLSi8nO7UC" crossorigin="anonymous"></script> | ||
<script src="https://unpkg.com/[email protected].11" integrity="sha384-TODO" 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
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