725 Commits

Author SHA1 Message Date
Oliver Jensen
c09fcb3f9c fix handling of 'multiple' attribute 2020-11-29 22:59:21 -06:00
Ben Croker
a809743fd3
Switched attribute order (doh!) 2020-11-24 20:51:06 +01:00
Ben Croker
f5e081eb3b
Added missing attributes 2020-11-24 20:48:43 +01:00
carson
26a8b75f1e improve language 2020-11-24 06:40:20 -07:00
carson
a2454ebfe1 improve language 2020-11-24 06:15:08 -07:00
carson
79bfdc4f78 1.0 prep v1.0.0 2020-11-24 05:35:15 -07:00
carson
a076444946 1.0 prep 2020-11-23 18:36:21 -07:00
carson
a6695e5fd5 1.0 prep 2020-11-23 18:34:44 -07:00
carson
886457d857 1.0 prep 2020-11-23 13:15:59 -07:00
carson
212898a493 Merge remote-tracking branch 'origin/master' 2020-11-23 12:09:53 -07:00
carson
959d854019 Merge branch 'master' into dev v0.4.1 2020-11-23 12:07:28 -07:00
carson
360a744b41 Merge remote-tracking branch 'origin/dev' into dev 2020-11-23 08:34:39 -07:00
carson
b874b87d71 Prep for 0.4.1 release 2020-11-23 08:34:31 -07:00
carson
24d103ba30 Prep for 0.4.1 release 2020-11-23 08:32:48 -07:00
carson
c81dce11bb Prep for 0.4.1 release 2020-11-23 08:31:00 -07:00
carson
7d592b80fe merge event properties directly
Standard DOM events do not have a detail property, but have properties directly on the event object (unlike `CustomEvent`).

See https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent/detail

With this change we properly pass through event properties to the given htmx event.  In particular, the `progress` event now includes enough information for handling a progress bar.

Addresses https://github.com/bigskysoftware/htmx/issues/240
2020-11-23 07:45:33 -07:00
carson
13366ac089 fix https://github.com/bigskysoftware/htmx/issues/239
use title node innerHTML if possible so that HTML escape sequences are respected.
2020-11-18 17:23:52 -07:00
carson
81c78109a3 bump version 2020-11-18 17:22:52 -07:00
Ben Croker
6c5b99b0cd
Update CHANGELOG.md 2020-11-18 08:59:18 +01:00
carson
d86b95c7a1 fix grammar 2020-11-16 21:52:18 -07:00
1cg
12dee5aa5a
Merge pull request #235 from bigskysoftware/bencroker-patch-1
Added docs for hx-vals and added security consideration
2020-11-16 21:27:00 -07:00
carson
1f028b14da Merge remote-tracking branch 'origin/master' 2020-11-16 18:29:48 -07:00
carson
4e7935b7ab release prep v0.4.0 2020-11-16 18:25:32 -07:00
carson
a9fb276f21 Merge branch 'master' into dev 2020-11-16 18:15:19 -07:00
carson
ec63d88eeb prep 0.4 release 2020-11-16 06:36:35 -07:00
Ben Croker
469ca86438
Create hx-vals.md 2020-11-16 12:55:35 +01:00
Ben Croker
1d42f1ddeb
Fixed link 2020-11-16 12:48:20 +01:00
Ben Croker
dad856dca0
Added Security Considerations 2020-11-16 12:40:30 +01:00
Ben Croker
bbe53d94de
Added hx-vals to docs 2020-11-16 12:27:42 +01:00
Ben Croker
2301b827f2
Use internal parseJSON function 2020-11-16 10:45:21 +01:00
Ben Croker
72d0ab850b
Use internal parseJSON function 2020-11-16 10:38:39 +01:00
Ben Croker
6208b58aba
Fix typo 2020-11-16 10:35:13 +01:00
1cg
fa1db3b290
Merge pull request #225 from ChexWarrior/224-unlock-request-after-xhr-abort
End request lock when xmlHttpRequest is aborted

awesome, thank you!
2020-11-15 19:22:20 -07:00
Andrew Lehman
661f43f5cf Update title and test label 2020-11-15 21:11:10 -05:00
Andrew Lehman
cc13cf721c Add test to list of manual tests 2020-11-15 21:09:07 -05:00
Andrew Lehman
f9d0ccb3ed Add minimal test to ensure requests aren't locked 2020-11-15 21:08:31 -05:00
carson
234ba981d9 remove last non-test eval 2020-11-15 19:04:19 -07:00
carson
d464b91d1e Add braces test 2020-11-15 17:56:23 -07:00
carson
5acd554a5c Two-fer:
* Implement `hx-vals` which is a JSON-only (and therefore safer) version of `hx-vars`
* Port all internal evals to use `Function` instead

May fix https://github.com/bigskysoftware/htmx/issues/213
2020-11-15 17:54:54 -07:00
carson
2209c4bf6f switch semantics: hx-vars overrides any input 2020-11-15 06:23:04 -07:00
1cg
90487505be
Merge pull request #232 from bigskysoftware/bencroker-patch-1
Allow expression vars to override raw parameters
2020-11-15 06:21:37 -07:00
carson
0f72543171 Update title if a title tag is found in the response content
fixes https://github.com/bigskysoftware/htmx/issues/231
2020-11-15 06:04:31 -07:00
carson
b774bf108a Merge remote-tracking branch 'origin/dev' into dev 2020-11-15 05:43:52 -07:00
carson
67e6fc89e1 Support HX-Redirect and HX-Refresh response headers
fixes https://github.com/bigskysoftware/htmx/issues/230
2020-11-15 05:43:44 -07:00
Ben Croker
f2941b7a4b
Allow expression vars to override raw parameters 2020-11-11 19:19:13 +01:00
1cg
e0b5d3d432
Merge pull request #217 from benpate/pullrequest-modal-documentation
Website: demo modal dialogs using UIKit
2020-11-11 10:06:02 -07:00
1cg
c334768865
Merge branch 'dev' into pullrequest-modal-documentation 2020-11-11 10:05:46 -07:00
1cg
4e41dc47d2
Merge pull request #218 from benpate/pullrequest-modal-bootstrap
Website: demo modal dialogs using Bootstrap
2020-11-11 10:04:46 -07:00
carson
e0b5b52979 handle html parsing when script tag starts content
fixes https://github.com/bigskysoftware/htmx/issues/228
2020-11-11 10:04:01 -07:00
carson
71a9b48dd4 fix example code
remove unused param
2020-11-11 09:59:42 -07:00