39 Commits

Author SHA1 Message Date
carson
564d4eb651 holy smokes this test won't die 2020-12-04 10:08:01 -07:00
carson
c9ab48d9d5 more 1.0.1 prep 2020-12-04 10:03:59 -07:00
carson
58b36a6fb8 fix test - I guess all that matters is that the attribute is on the element :/ 2020-12-04 09:56:28 -07:00
carson
fda4957d65 handle multiple='false' case 2020-11-29 09:58:10 -07:00
Ben Weller
7576e21ab1 handle multi-select when "multiple" attr is present w/o value 2020-11-25 15:40:57 -06: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
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
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
Ben Croker
28d47e91d5
Added test child script nodes evaluate when first child 2020-11-09 10:49:01 +01: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 2020-10-27 16:58:52 -06:00
carson
f536512e45 script testing, evaluate script tag when type is absent 2020-10-19 09:33:47 -06:00
carson
77dc60dff7 IE 11 cleanup 2020-09-30 13:02:16 -06:00
carson
6900ab8278 don't set Content-Type in the presence of hx-encoding 2020-09-29 11:28:21 -06:00
carson
b401f54c54 undo temporary removal of clearing 2020-09-29 10:47:16 -06:00
carson
7a7401aa97 fixes for file upload
- proper content type header
- fix bug in FormData generation

test for both
2020-09-29 10:39:34 -06:00
carson
7b9e751960 first pass at file upload and supporting multipart/form-data
also fixed an obscure bug in the way inputs were collected w/ multiple values
2020-09-28 18:47:23 -06:00
carson
4b4a480f9c switch to a white list for attribute swizzling
fixes https://github.com/bigskysoftware/htmx/issues/195
2020-09-14 07:28:41 -06:00
Ben Pate
33f79d79b7 Add test case
Adds a test case to demonstrate that 304 "Not Modified" response should be treated just the same as a regular 200 "Ok" response.
2020-09-09 20:52:17 -06:00
carson
a0b368022f Back out ignoring 304 response code, since we still want to swap the old content 2020-09-07 17:54:57 -06:00
carson
d5f6ef2900 Add support for 304 response code in addition to the 204 response code 2020-09-07 10:06:35 -06:00
carson
278b5f1196 add tests and fix autofocus to work w/ top level content 2020-09-07 09:45:41 -06:00
carson
088c6814b8 detect multiple attribute and handle getting values 2020-09-01 19:10:50 -06:00
carson
22af2347b9 enqueue requests when a trigger occurs while a request is in flight
fixes https://github.com/bigskysoftware/htmx/issues/152
2020-08-19 07:39:55 -06:00
Ben Weller
381005b018 clean up extraneous newlines in test 2020-07-19 09:29:56 -05:00
Ben Weller
612d2fedf1 remove console.log() noise from new test 2020-07-19 09:15:58 -05:00
Ben Weller
8fcf27ab8c add test for <select multiple> 2020-07-19 09:13:32 -05:00
carson
4f3cf2d889 Move events from <event name>.htmx (jQuery style) to htmx:<event name> (zepto style)
fixes https://github.com/bigskysoftware/htmx/issues/109
2020-06-30 10:45:30 -07:00
carson
276082f2c2 exclude value and id from the settle swap to avoid flicker 2020-06-19 06:29:46 -07:00
carson
3d814327af handle exceptions in embedded script tags gracefully 2020-05-26 17:32:22 -07:00
carson
d144742048 test + test fixes 2020-05-26 16:27:20 -07:00
carson
424826b087 support script tags in returned content 2020-05-26 06:59:03 -07:00
carson
88232a6913 add test because javascript is so terrible 2020-05-25 22:52:13 -07:00
carson
51697abff6 revert settle attribute swapping so internals work + hx-ws tests (ugh) 2020-05-25 19:46:10 -07:00
carson
ef152a73b9 Clean up URL parameter handling & tests, support anchors 2020-05-22 13:42:57 -07:00
carson
3aa8c64754 le big re-rename 2020-05-17 05:22:19 -07:00
carson
36bd9a25ca event testing 2020-05-13 13:57:52 -07:00
carson
7447427dd6 checkbox tests 2020-05-13 11:41:18 -07:00
carson
ba5cb7105a organize tests 2020-05-13 09:12:31 -07:00