carson
e088280f01
web update for 0.1.1
2020-09-18 09:01:31 -06:00
carson
4e15653adb
0.1.1 release - fix double event dispatch bug
v0.1.1
2020-09-18 08:59:51 -06:00
carson
c218853011
Merge remote-tracking branch 'origin/master'
2020-09-18 08:46:21 -06:00
carson
6344ca21bd
bump hyperscript to a version that works
2020-09-18 08:46:12 -06:00
Ben Croker
5cb26e6fb2
Fixed typos
2020-09-18 15:41:49 +02:00
carson
f25a7ee470
update docs
2020-09-18 07:13:21 -06:00
carson
878a98da75
update docs
2020-09-18 06:54:45 -06:00
carson
98f2af9221
Merge remote-tracking branch 'origin/master'
2020-09-18 06:51:41 -06:00
carson
45facce1cd
release 0.1 prep
v0.1.0
2020-09-18 06:47:09 -06:00
carson
1dbabdb4c4
release 0.1 prep
2020-09-17 13:09:07 -06:00
carson
325cb29bf8
update docs
2020-09-15 12:29:27 -06:00
carson
c45596d248
correct event name position
2020-09-15 12:25:46 -06:00
carson
8ac2baf586
switch to colon separator for sse and ws to avoid comma issues w/ URLs
2020-09-15 12:22:54 -06:00
1cg
42d4ce65b5
Merge pull request #196 from benpate/pullrequest-serverSentEvents-take-5
...
DOCUMENTATION: Server Sent Events
2020-09-15 10:48:27 -07:00
carson
5444ce598b
remove swizzle terminology
...
*sad american noises*
2020-09-14 20:39:13 -06:00
Ben Pate
c449a9b1d3
Update hx-sse.md
...
Adding documentation
2020-09-14 20:29:18 -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
carson
b657c0ad41
Merge remote-tracking branch 'origin/dev' into dev
2020-09-13 22:27:32 -06:00
carson
499c54b846
ignore attributes w/ an @ in it
2020-09-13 22:27:24 -06:00
1cg
3c64876fce
Merge pull request #194 from benpate/pullrequest-serverSentEvents-take-5
...
FEATURE: Swap HTML on Server Sent Events (take 5)
2020-09-13 19:58:07 -07:00
Ben Pate
9b28ddc129
Import Test Cases
...
These three test cases demonstrate SSE using a remote service.
2020-09-13 19:21:35 -06:00
Ben Pate
411e8fd09e
Update htmx.js
...
- implement new SSE syntax
- add comments to delimit the start and end of SSE code block
- update splitOnWhitespace to allow leading/trailing whitespace
- reorganize maybeCloseSSESource() to bottom of SSE code block
2020-09-13 19:12:39 -06:00
Ben Pate
8bad3b61f5
Merge pull request #3 from bigskysoftware/dev
...
Update base branch to bigskysoftware/htmx::dev
2020-09-13 15:52:03 -06:00
carson
a63d272441
Merge remote-tracking branch 'origin/dev' into dev
2020-09-11 08:00:52 -06:00
carson
45f3909b9c
Update htmx to latest hyperscript, fix tests
2020-09-11 08:00:45 -06:00
1cg
499c46e819
Merge pull request #189 from bencroker/patch-20
...
Fixed link in docs
2020-09-10 19:03:24 -07:00
1cg
1ac7821c84
Merge pull request #190 from benpate/pullrequest-304-not-modified-take2
...
Add test case
2020-09-10 19:03:00 -07:00
carson
9c592d4e2f
Support pushing the value of xhr.responseURL
if it is available
2020-09-10 13:05:56 -06:00
carson
a890abf626
Support non-ASCII values in headers by auto-encoding them
...
Include a flag header indicating the auto-encoding occurred
Fixes https://github.com/bigskysoftware/htmx/issues/191
2020-09-10 12:40:25 -06:00
carson
7cc8f08377
regression test for @ name support in attributes (Alpine.js issue)
...
This passes, but apparently there is an outstanding issue.
2020-09-10 08:22:31 -06:00
carson
c3b1c63484
Support kebab naming for events
2020-09-10 08:02:00 -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
Ben Croker
692371d54c
Fixed link in docs
2020-09-09 12:54:08 +02: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
1cg
6e649c02bf
Merge pull request #160 from benpate/pullrequest-processFocus
...
FEATURE: Support "autofocus" attribute when swapping content
2020-09-07 08:32:41 -07:00
1cg
9ffbed804b
Merge pull request #184 from bencroker/patch-19
...
Removed redundant parameter
2020-09-03 08:09:06 -07:00
carson
5f300f1bbc
move polling interval into single setup to avoid having multiple intervals created
2020-09-03 09:07:47 -06:00
1cg
6227f1ae13
Merge pull request #182 from benpate/pullrequest-scroll-event-throttling
...
Pullrequest scroll event throttling
2020-09-03 08:04:11 -07:00
Ben Croker
ab76296f7a
Removed redundant parameter
2020-09-02 21:58:42 +02:00
Ben Pate
09be7fff0d
Added Tests
...
- added new scroll test
- renamed original test (because now there are two manual tests for scrolling)
2020-09-02 11:12:48 -06:00
Ben Pate
ea8f633e9a
Update scroll event handler
...
This commit follows the advice from this article (https://www.benmarshall.me/attaching-javascript-handlers-to-scroll-events/ ) that recommends using a global "lock" variable to prevent multiple scroll handlers from overlapping each other.
It was originally baked into [another pull request](https://github.com/benpate/htmx/tree/pullrequest-limits ) and is being separated out into its own PR
2020-09-01 20:45:27 -06:00
1cg
6252855c4a
Merge pull request #162 from nyash/master
...
FEATURE: find selector option of the hx-target attribute
2020-09-01 18:42:01 -07:00
carson
088c6814b8
detect multiple attribute and handle getting values
2020-09-01 19:10:50 -06:00
carson
48282482c6
Merge remote-tracking branch 'origin/dev' into dev
2020-09-01 19:08:54 -06:00
carson
5bd584a75a
Process stand alone hyperscript
...
This needs to be reworked so that hyperscript relies on htmx events, so htmx doesn't need to know about hyperscript
2020-09-01 19:08:47 -06:00
1cg
853ef2c05a
Merge pull request #159 from benpate/pullrequest-closeconnections
...
Close connections on swapInnerHTML
2020-09-01 18:06:27 -07:00
carson
807723311f
properly fire htmx:afterRequest and htmx:afterOnLoad on outerHTML replacements
2020-09-01 18:28:21 -06:00
carson
0f9e93180a
Bump to 0.1 to prep for next release
2020-09-01 18:10:42 -06:00