1531 Commits

Author SHA1 Message Date
Adam McKay
fd7009dccd
Update docs for OOB swaps in top level (#783) 2022-02-04 10:54:04 -07:00
Adam Johnson
4c0157432a
Use gzip level 9 compression (#788)
Level 9 is more compressed, and faster to decompress.

Before:

```
$ wc -c dist/htmx.min.js.gz
11615 dist/htmx.min.js.gz
```

After:

```
$ wc -c dist/htmx.min.js.gz
11596 dist/htmx.min.js.gz
```

Cor blimey, that's 19 bytes saved!
2022-02-04 10:53:44 -07:00
Adam Johnson
defbb40bd7
Document required node version (#789)
After trying to set up the project, I found that Node 16 is incompatible with the pinned version of node-sass, and node 15 must be used. This PR documents the requirement - perhaps an upgrade to Node 16 can be done after.
2022-02-04 10:53:13 -07:00
Len Boyette
0ea321ea58
succesful => successful in events.md (#794) 2022-02-04 10:52:48 -07:00
Len Boyette
470a721037
succesful => successful in reference.md (#795) 2022-02-04 10:52:37 -07:00
Bo
43becfb144
Allow execusion of scripts of type module (#797) 2022-02-04 10:52:18 -07:00
Adam Johnson
4b572b8e3d
Clarify hx-preserve docs (#798)
I mistakenly thought that I could mark a (third party) node with `hx-preserve` and it would be carried onto the next page, but this is not the case. This makes sense. I’ve tried to improve the documentation to reflect this, and make the behaviour clearer in general.
2022-02-04 10:51:05 -07:00
carson
f1cef92e52 Merge remote-tracking branch 'origin/master' 2022-01-20 08:25:34 -07:00
carson
1964c4373c improve demo 2022-01-20 08:25:27 -07:00
pierrealixt
8cf3397e8e
Fixed typo in bulk update example (#773) 2022-01-18 20:20:39 -07:00
carson
468297b2e6 Merge remote-tracking branch 'origin/master' 2022-01-17 15:00:29 -07:00
carson
133ce4e7c2 oops 2022-01-17 15:00:23 -07:00
Philipp Katz
fdcf35c5d0
Fix and extend TypeScript definitions (#696)
* This solves the mystery of the missing types file re npm package

* Fix and improve the typings based on API docs

* hook functions into default import
* add API as extracted from the API docs
* add tests based on examples

* Fix docs

Co-authored-by: Chris <7539871+paxperscientiam@users.noreply.github.com>
2022-01-17 10:58:56 -07:00
1cg
2ab84352b8
Merge pull request #771 from pkel/master
fix content-type header for urlencoded form data
2022-01-17 10:51:33 -07:00
carson
53f174d5a4 add alt attributes to images
fixes https://github.com/bigskysoftware/htmx/issues/742
2022-01-17 10:49:49 -07:00
carson
e98d817805 fix typo 2022-01-16 17:40:36 -07:00
Patrik Keller
c5b66dd221 fix content-type header for urlencoded form data
This commit changes the content-type header for urlencoded form data
(hx-post) as proposed in #74 and #717.
2022-01-16 20:26:09 +01:00
carson
ede73a498b add link to migration guide (finally!)
fixes https://github.com/bigskysoftware/htmx/issues/747
2022-01-16 10:40:42 -07:00
carson
1e73121543 fix typo 2022-01-15 17:04:39 -07:00
carson
63dbc9cd63 Merge remote-tracking branch 'origin/master' 2022-01-15 15:05:41 -07:00
carson
ad174cf02c add mutually exclusive row edit example 2022-01-15 15:04:55 -07:00
1cg
f69d711491
Merge pull request #659 from Krolken/better-active-search
Improve Active Search Example
2022-01-14 11:28:48 -07:00
1cg
dcf64f0009
Merge pull request #691 from hirasso/hotfix/update-docs
Update info about `config.defaultSettleDelay`
2022-01-14 11:20:21 -07:00
1cg
154b240b20
Merge pull request #720 from gotcha/setupci
Setup CI
2022-01-14 11:17:39 -07:00
1cg
d1c5ff54fa
Merge pull request #727 from waldyrious/patch-1
www/extensions/path-deps: rm extra punctuation
2022-01-14 11:16:23 -07:00
1cg
f262e7a276
Merge pull request #736 from ralfzosel/doc-fixes
Fix minor typo in Docu
2022-01-14 11:15:01 -07:00
1cg
92fe46e845
Merge pull request #737 from timotk/master
Fix typo in progress bar example
2022-01-14 11:14:43 -07:00
1cg
a54f9c06c5
Merge pull request #740 from Neamar/patch-1
Update a-response-to-rich-harris.md

thank you!
2022-01-14 11:14:27 -07:00
1cg
6af8094e36
Merge branch 'master' into patch-1 2022-01-14 11:14:14 -07:00
1cg
c2980e5c13
Merge pull request #741 from gmso/master
Change active search example to be case insensitive

yep, docs fixes can go against master

thank you!
2022-01-14 11:12:47 -07:00
1cg
bfacab1338
Merge pull request #759 from arcanemachine/patch-1
add instructions for using `htmx.ajax()` with a callback
2022-01-14 10:57:19 -07:00
1cg
9bf40e831f
Merge pull request #765 from lllama/patch-1
Updated link for .Net Rocks

thank you!
2022-01-14 09:58:36 -07:00
Felix Ingram
c943d193a3
Updated link for .Net Rocks
Paying my 7b toll
2022-01-14 07:11:55 +00:00
arcanemachine
6132770a8f add instructions for using htmx.ajax() with a callback
Added some info about how `htmx.ajax()` returns a Promise, which can be paired with a callback to execute code after the content has been inserted into the DOM.
2022-01-11 03:38:41 -07:00
carson
c2cb238184 improve formatting 2021-12-30 08:05:08 -07:00
carson
597ea9bfe5 improve formatting 2021-12-30 07:41:31 -07:00
gmso
9356771e4f Move variable creation outside of for loop 2021-12-29 14:37:20 +01:00
carson
deed20fd60 improve formatting 2021-12-28 08:54:34 -07:00
carson
3351042519 de-escalate language 2021-12-28 08:50:35 -07:00
carson
fdf51bc13f add github graph 2021-12-28 08:48:41 -07:00
carson
e435b1247a add github graph 2021-12-28 08:48:32 -07:00
carson
276d6538db clean up 2021-12-28 08:41:12 -07:00
carson
f6cd68ba85 fix docs 2021-12-27 15:40:53 -07:00
carson
477c0a21b5 change title 2021-12-27 13:01:30 -07:00
gmso
63b33d7ab6 Change active search example to be case insensitive 2021-12-27 20:45:24 +01:00
Matthieu Bacconnier
d65bf225d8
Update a-response-to-rich-harris.md 2021-12-27 12:45:16 +01:00
carson
154c1739c8 fix typo 2021-12-26 17:53:46 -07:00
carson
1c0163897d add email 2021-12-26 11:21:52 -07:00
carson
51050d7798 .net love 2021-12-26 09:33:32 -07:00
carson
1d4992d65e language improvements 2021-12-26 08:21:03 -07:00