674 Commits

Author SHA1 Message Date
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
1cg
90bc460837
Merge pull request #229 from bigskysoftware/bencroker-patch-1
Added test for script nodes
2020-11-10 09:52:16 -07:00
Ben Croker
28d47e91d5
Added test child script nodes evaluate when first child 2020-11-09 10:49:01 +01:00
Andrew Lehman
f706e079cc End request lock when xmlHttpRequest is aborted 2020-11-06 16:06:00 -05:00
carson
3e8c47df05 fix example code
fixes https://github.com/bigskysoftware/htmx/issues/216
2020-11-05 11:30:14 -07:00
carson
a599286d5c Only process anchors and forms if there is an hx-boost in play 2020-11-05 08:56:51 -07:00
carson
f7617a4653 do not fire requests when element is no longer in DOM
fixes https://github.com/bigskysoftware/htmx/issues/222
2020-11-05 08:39:33 -07:00
carson
c6c472bbf7 0.3.0 release v0.3.0 2020-10-27 16:58:52 -06:00
Ben Pate
81bebb0956 Update modal-uikit.md
- Fixed example code.
- Removed incorrect copy-and-paste text
2020-10-26 13:59:03 -06:00
Ben Pate
223baa70d8 Add Bootstrap demo to website 2020-10-26 13:54:13 -06:00
Ben Pate
620fd45850 Website: demo modal dialogs using UIKit
This is my first try at doing this, so feedback is welcome.

 I can't get the SASS plugin working with eleventy, so I'm guessing about the global page CSS.  It looks like the UIKit stylesheet may mess up the global look of the page.  If this is a dealbreaker (or can't be fixed) then we may not be able to use this commit :(
2020-10-26 13:06:17 -06:00
carson
751ad91755 basic test for logAll() 2020-10-19 09:52:18 -06:00
carson
d67634e678 test scrolledIntoView 2020-10-19 09:49:55 -06:00
carson
f536512e45 script testing, evaluate script tag when type is absent 2020-10-19 09:33:47 -06:00
carson
a749b4e288 Merge remote-tracking branch 'origin/dev' into dev 2020-10-19 08:20:26 -06:00
carson
1cb756c05e add test for SSE swapping 2020-10-19 08:20:16 -06:00
carson
d26a09c5c7 fix name 2020-10-18 06:49:07 -06:00
1cg
dcdc3f9c8a
Merge pull request #211 from jreviews/patch-1
Fix swap example in hx-target page
2020-10-18 06:44:27 -06:00
1cg
7e8d583f61
Merge pull request #212 from adamchainz/patch-1
Fix doc highlighting of htmx.find()
2020-10-17 17:36:53 -06:00
Adam Johnson
1ae1909dfe
Fix doc highlighting of htmx.find() 2020-10-18 00:19:05 +01:00
carson
a2b00f22b1 0.3 release prep 2020-10-17 13:27:47 -06:00
carson
165586b777 docs and tests for trigger filters 2020-10-17 13:21:15 -06:00
carson
6c8c124c42 Merge branch 'dev' into feature_event_filtering
# Conflicts:
#	src/htmx.js
2020-10-17 08:22:48 -06:00
Alejandro Schmeichler
4638bd9b3e
Fix swap example
Should be `beforeend`, all lowercase.
2020-10-16 12:24:29 -04:00
carson
d018ef4f0f catch on history cache save
fixes https://github.com/bigskysoftware/htmx/issues/209
2020-10-13 17:02:15 -06:00
carson
ab88b86109 add event-header extension 2020-10-05 08:29:09 -06:00
carson
93bd9bf0d9 port trigger spec processing to use the tokenizer 2020-10-05 08:09:16 -06:00
carson
8f4151fdd2 finish docs for API 2020-10-05 08:07:08 -06:00
carson
385ee3fb58 finish docs for API 2020-10-05 08:06:42 -06:00
carson
18220b3283 hook in tokenizer implementation 2020-10-04 18:26:17 -06:00
carson
e80169808c ignore non-elements when triggering post-swap events 2020-10-04 13:50:37 -06:00
carson
6da50570bc support header-based triggers after swaps and settles 2020-10-04 10:00:40 -06:00
carson
586829e097 temporary commit for supporting lexing 2020-10-04 09:39:10 -06:00