carson
a65c37ec4f
Include full path w/ variables when pushing a GET
...
Fixes https://github.com/bigskysoftware/htmx/issues/58
2020-06-10 16:37:03 -07:00
carson
2305aed18e
Move X-HTTP-Method-Override out to an extension
...
fixes https://github.com/bigskysoftware/htmx/issues/86
2020-06-10 16:01:56 -07:00
Robert Schroll
1060c9e88a
Avoid throwing errors when parsing malformed JSON
...
Instead, treat it as if no value was present.
2020-06-08 00:55:09 -07:00
acnebs
d01025823e
Rename custom HTTP headers to no longer start with X-
...
This convention is deprecated, as per this RFC from the IETF:
https://tools.ietf.org/html/rfc6648
2020-05-28 01:29:51 +01:00
carson
9a4ad77d5d
WebSocket and SSE connection closing on element replacement
2020-05-26 06:34:41 -07:00
carson
666b4cbaa8
add tests for SSE and standardize syntax with websockets
2020-05-25 21:56:29 -07:00
carson
51697abff6
revert settle attribute swapping so internals work + hx-ws tests (ugh)
2020-05-25 19:46:10 -07:00
carson
7036557cba
oob swapping fixes and firm up the settle step quite a bit
2020-05-25 16:34:19 -07:00
carson
cbe8cd9fce
fix triggers test
2020-05-24 21:57:20 -07:00
carson
8a6a6f8016
web socket support
2020-05-24 21:41:44 -07:00
carson
860d263d4d
pull hx-classes out to an extension
2020-05-24 17:04:59 -07:00
Robert Schroll
2ad1202978
Handle multiple triggers
...
Triggers are separated by commas, and each will get handled with its
own options. If we are unable to parse any triggers, the default
trigger for each element is used.
2020-05-23 18:08:54 -07:00
Robert Schroll
0b0be4193a
Change trigger spec for repeated and SSE events
2020-05-23 18:08:54 -07:00
Robert Schroll
9437e6c0a8
Add tests of trigger spec parsing
2020-05-23 18:08:54 -07:00
carson
ba6d38e9dd
Fix https://github.com/bigskysoftware/htmx/issues/19
...
clean up uses of getRawAttribute() and add a `data-*` test for all attribute tests.
2020-05-23 04:52:52 -07:00
carson
1dd4cabfa2
extension tests and clean up docs
2020-05-22 14:05:04 -07:00
carson
ef152a73b9
Clean up URL parameter handling & tests, support anchors
2020-05-22 13:42:57 -07:00
carson
033af9a8d2
htmx extension mechanism
2020-05-22 10:53:10 -07:00
carson
3aa8c64754
le big re-rename
2020-05-17 05:22:19 -07:00
carson
390ac2443b
copy children collection so merging oob node doesn't screw up iteration
...
fixes https://github.com/bigskysoftware/kutty/issues/4
2020-05-16 06:54:33 -07:00
carson
51bf9bfc13
perf test
2020-05-14 13:56:34 -07:00
carson
53cd87465c
swap and API fixes
2020-05-14 11:51:15 -07:00
carson
fea1ffe378
remove history nav from boost tests
2020-05-14 06:46:34 -07:00
carson
91772b2d45
tests
2020-05-14 06:28:24 -07:00
carson
5da5dc6063
general updates
2020-05-13 09:53:27 -07:00
carson
ba5cb7105a
organize tests
2020-05-13 09:12:31 -07:00