mirror of
https://github.com/bigskysoftware/htmx.git
synced 2025-09-27 04:50:43 +00:00
release prep
This commit is contained in:
parent
033d295ef9
commit
f4e67863d9
2
dist/htmx.amd.js
vendored
2
dist/htmx.amd.js
vendored
@ -584,7 +584,7 @@ var htmx = (function() {
|
||||
*/
|
||||
function makeFragment(response) {
|
||||
// strip head tag to determine shape of response we are dealing with
|
||||
const responseWithNoHead = response.replace(/<head(\s[^>]*)?>.*?<\/head>/is, '')
|
||||
const responseWithNoHead = response.replace(/<head(\s[^>]*)?>[\s\S]*?<\/head>/i, '')
|
||||
const startTag = getStartTag(responseWithNoHead)
|
||||
/** @type DocumentFragmentWithTitle */
|
||||
let fragment
|
||||
|
2
dist/htmx.cjs.js
vendored
2
dist/htmx.cjs.js
vendored
@ -583,7 +583,7 @@ var htmx = (function() {
|
||||
*/
|
||||
function makeFragment(response) {
|
||||
// strip head tag to determine shape of response we are dealing with
|
||||
const responseWithNoHead = response.replace(/<head(\s[^>]*)?>.*?<\/head>/is, '')
|
||||
const responseWithNoHead = response.replace(/<head(\s[^>]*)?>[\s\S]*?<\/head>/i, '')
|
||||
const startTag = getStartTag(responseWithNoHead)
|
||||
/** @type DocumentFragmentWithTitle */
|
||||
let fragment
|
||||
|
2
dist/htmx.esm.js
vendored
2
dist/htmx.esm.js
vendored
@ -583,7 +583,7 @@ var htmx = (function() {
|
||||
*/
|
||||
function makeFragment(response) {
|
||||
// strip head tag to determine shape of response we are dealing with
|
||||
const responseWithNoHead = response.replace(/<head(\s[^>]*)?>.*?<\/head>/is, '')
|
||||
const responseWithNoHead = response.replace(/<head(\s[^>]*)?>[\s\S]*?<\/head>/i, '')
|
||||
const startTag = getStartTag(responseWithNoHead)
|
||||
/** @type DocumentFragmentWithTitle */
|
||||
let fragment
|
||||
|
2
dist/htmx.js
vendored
2
dist/htmx.js
vendored
@ -583,7 +583,7 @@ var htmx = (function() {
|
||||
*/
|
||||
function makeFragment(response) {
|
||||
// strip head tag to determine shape of response we are dealing with
|
||||
const responseWithNoHead = response.replace(/<head(\s[^>]*)?>.*?<\/head>/is, '')
|
||||
const responseWithNoHead = response.replace(/<head(\s[^>]*)?>[\s\S]*?<\/head>/i, '')
|
||||
const startTag = getStartTag(responseWithNoHead)
|
||||
/** @type DocumentFragmentWithTitle */
|
||||
let fragment
|
||||
|
2
dist/htmx.min.js
vendored
2
dist/htmx.min.js
vendored
File diff suppressed because one or more lines are too long
BIN
dist/htmx.min.js.gz
vendored
BIN
dist/htmx.min.js.gz
vendored
Binary file not shown.
@ -121,13 +121,13 @@ The fastest way to get going with htmx is to load it via a CDN. You can simply a
|
||||
your head tag and get going:
|
||||
|
||||
```html
|
||||
<script src="https://unpkg.com/htmx.org@2.0.3" integrity="sha384-qeAN0xWnJNWF0HBnEUKZHIL+jcrMrstwVTUUNfWBjjCcucLtTls/G3Ap9zAgCq4f" crossorigin="anonymous"></script>
|
||||
<script src="https://unpkg.com/htmx.org@2.0.3" integrity="sha384-0895/pl2MU10Hqc6jd4RvrthNlDiE9U1tWmX7WRESftEDRosgxNsQG/Ze9YMRzHq" crossorigin="anonymous"></script>
|
||||
```
|
||||
|
||||
An unminified version is also available as well:
|
||||
|
||||
```html
|
||||
<script src="https://unpkg.com/htmx.org@2.0.3/dist/htmx.js" integrity="sha384-8KIgStQiNEm1seO9ZjTtw62D9Yvv1KdmFlY35ND75VbqDo+3yKg3KYZUgUNcNlAn" crossorigin="anonymous"></script>
|
||||
<script src="https://unpkg.com/htmx.org@2.0.3/dist/htmx.js" integrity="sha384-BBDmZzVt6vjz5YbQqZPtFZW82o8QotoM7RUp5xOxV3nSJ8u2pSdtzFAbGKzTlKtg" crossorigin="anonymous"></script>
|
||||
```
|
||||
|
||||
While the CDN approach is extremely simple, you may want to consider
|
||||
|
@ -583,7 +583,7 @@ var htmx = (function() {
|
||||
*/
|
||||
function makeFragment(response) {
|
||||
// strip head tag to determine shape of response we are dealing with
|
||||
const responseWithNoHead = response.replace(/<head(\s[^>]*)?>.*?<\/head>/is, '')
|
||||
const responseWithNoHead = response.replace(/<head(\s[^>]*)?>[\s\S]*?<\/head>/i, '')
|
||||
const startTag = getStartTag(responseWithNoHead)
|
||||
/** @type DocumentFragmentWithTitle */
|
||||
let fragment
|
||||
|
@ -583,7 +583,7 @@ var htmx = (function() {
|
||||
*/
|
||||
function makeFragment(response) {
|
||||
// strip head tag to determine shape of response we are dealing with
|
||||
const responseWithNoHead = response.replace(/<head(\s[^>]*)?>.*?<\/head>/is, '')
|
||||
const responseWithNoHead = response.replace(/<head(\s[^>]*)?>[\s\S]*?<\/head>/i, '')
|
||||
const startTag = getStartTag(responseWithNoHead)
|
||||
/** @type DocumentFragmentWithTitle */
|
||||
let fragment
|
||||
|
Loading…
x
Reference in New Issue
Block a user