mirror of
https://github.com/bigskysoftware/htmx.git
synced 2025-09-27 04:50:43 +00:00
bumped version in wrong branch 😑
This commit is contained in:
parent
7c9fd4bc93
commit
69d4d49363
@ -1,10 +1,5 @@
|
||||
# Changelog
|
||||
|
||||
|
||||
## [1.6.1] - 2021-10-01
|
||||
|
||||
|
||||
|
||||
## [1.6.0] - 2021-10-01
|
||||
|
||||
* Completely reworked `<script>` tag support that now supports the `<script src="...'/>` form
|
||||
|
@ -35,7 +35,7 @@ By removing these arbitrary constraints htmx completes HTML as a
|
||||
|
||||
```html
|
||||
<!-- Load from unpkg -->
|
||||
<script src="https://unpkg.com/htmx.org@1.6.1" ></script>
|
||||
<script src="https://unpkg.com/htmx.org@1.6.0" ></script>
|
||||
<!-- have a button POST a click via AJAX -->
|
||||
<button hx-post="/clicked" hx-swap="outerHTML">
|
||||
Click Me
|
||||
|
@ -5,7 +5,7 @@
|
||||
"AJAX",
|
||||
"HTML"
|
||||
],
|
||||
"version": "1.6.1",
|
||||
"version": "1.6.0",
|
||||
"homepage": "https://htmx.org/",
|
||||
"bugs": {
|
||||
"url": "https://github.com/bigskysoftware/htmx/issues"
|
||||
|
@ -67,7 +67,7 @@ return (function () {
|
||||
createWebSocket: function(url){
|
||||
return new WebSocket(url, []);
|
||||
},
|
||||
version: "1.6.1"
|
||||
version: "1.6.0"
|
||||
};
|
||||
|
||||
var VERBS = ['get', 'post', 'put', 'delete', 'patch'];
|
||||
|
@ -103,13 +103,13 @@ 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@1.6.1"></script>
|
||||
<script src="https://unpkg.com/htmx.org@1.6.0"></script>
|
||||
```
|
||||
|
||||
For added security, you can load the script using [Subresource Integrity (SRI)](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity).
|
||||
|
||||
``` html
|
||||
<script src="https://unpkg.com/htmx.org@1.6.1" integrity="UPDATE" crossorigin="anonymous"></script>
|
||||
<script src="https://unpkg.com/htmx.org@1.6.1" integrity="sha384-G4dtlRlMBrk5fEiRXDsLjriPo8Qk5ZeHVVxS8KhX6D7I9XXJlNqbdvRlp9/glk5D" crossorigin="anonymous"></script>
|
||||
```
|
||||
|
||||
## <a name="ajax"></a> [AJAX](#ajax)
|
||||
|
@ -61,8 +61,8 @@ If you wish to put a template into another file, you can use a directive such as
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<title>JS Bin</title>
|
||||
<script src="https://unpkg.com/htmx.org@1.6.1"></script>
|
||||
<script src="https://unpkg.com/htmx.org@1.6.1/dist/ext/client-side-templates.js"></script>
|
||||
<script src="https://unpkg.com/htmx.org@1.6.0"></script>
|
||||
<script src="https://unpkg.com/htmx.org@1.6.0/dist/ext/client-side-templates.js"></script>
|
||||
<script src="https://unpkg.com/mustache@latest"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -34,7 +34,7 @@ By removing these arbitrary constraints, htmx completes HTML as a [hypertext](ht
|
||||
|
||||
```html
|
||||
<!-- Load from unpkg -->
|
||||
<script src="https://unpkg.com/htmx.org@1.6.1"></script>
|
||||
<script src="https://unpkg.com/htmx.org@1.6.0"></script>
|
||||
<!-- have a button POST a click via AJAX -->
|
||||
<button hx-post="/clicked" hx-swap="outerHTML">
|
||||
Click Me
|
||||
|
@ -1,6 +1,5 @@
|
||||
---
|
||||
layout: layout.njk
|
||||
tags: ['posts', 'announcements']
|
||||
title: htmx 1.6.0 has been released!
|
||||
date: 2021-10-02
|
||||
---
|
||||
|
Loading…
x
Reference in New Issue
Block a user