1cg
49849b3059
Merge pull request #181 from jreviews/patch-2
...
new afterOnLoad and afterRequest tests
than you!
2020-09-01 17:10:06 -07:00
carson
43cee3156e
fix test - had to turn off the sinon fake server and issue a real garbage request, and rewrite it as an async test
2020-09-01 18:05:36 -06:00
Alejandro Schmeichler
da1707b5a0
new afterOnLoad and afterRequest tests
...
To make sure these are fired when using outerHTML swapping
2020-09-01 19:49:56 -04:00
1cg
930660bd01
Merge pull request #179 from alexislefebvre/patch-1
...
docs.md: fix broken link
Thanks!
2020-09-01 16:36:48 -07:00
Alexis Lefebvre
6f7fd3164f
docs.md: fix broken link
2020-09-01 13:44:51 +02:00
nyash
7e35a2ac41
add hx-target find selector test
2020-08-31 10:34:08 +02:00
1cg
acf90ae2ee
Merge pull request #144 from bigskysoftware/dependabot/npm_and_yarn/lodash-4.17.19
...
Bump lodash from 4.17.15 to 4.17.19
2020-08-30 18:51:09 -07:00
1cg
8983448b33
Merge pull request #145 from rros/users/rros/fix-queryselector-issue
...
Fix issue with unquoted id attribute in query selector
2020-08-30 18:50:50 -07:00
1cg
631a58458d
Merge pull request #163 from akwatra/master
...
FIXED CHROME issue - "refuse to get unsafe header" warning.
2020-08-30 15:50:54 -07:00
1cg
25a61c3547
Merge pull request #172 from rros/users/rros/fix-issue-170
...
Fixes htmx not defined when script is loaded deferred
2020-08-30 15:49:43 -07:00
1cg
a61252d3dd
Merge pull request #176 from guettli/patch-1
...
typo in "response"
2020-08-30 15:48:29 -07:00
1cg
cf86edd05b
Merge pull request #177 from bencroker/patch-18
...
Fix load event name in docs
2020-08-30 15:48:01 -07:00
1cg
3ec2b3bb3a
Merge pull request #166 from bencroker/patch-17
...
Added event tests and fixed names
2020-08-30 15:46:26 -07:00
Ben Croker
4bd28579b2
Update docs.md
2020-08-29 21:54:09 +02:00
Thomas Güttler
3374747802
typo in "response"
2020-08-27 16:08:52 +02:00
Robert Ros
0e10620106
Create htmx variable to hold the object which gets exported from the module so internal references to htmx work when the scripts is loaded deferred.
2020-08-24 16:31:32 +02:00
carson
03cacce5a6
Merge remote-tracking branch 'origin/master'
2020-08-19 07:40:09 -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 Croker
bfaedef497
Added event tests
...
Added `afterRequest`, `afterOnLoad` and `sendError` event tests.
2020-08-17 19:37:56 +02:00
Ben Croker
331881aed9
Fixed event names
2020-08-17 19:31:07 +02:00
akwatra
d54e0e7237
FIXED CHROME issue - "refuse to get unsafe header" warning.
...
FIXED CHROME issue - "refuse to get unsafe header" warning.
Otherwise, you will have to send explicitly header from server.
see LINE: 1500
2020-08-15 03:14:40 +05:30
akwatra
c921b98f18
FIXED CHROME issue - "refuse to get unsafe header" warning.
...
FIXED CHROME issue - "refuse to get unsafe header" warning.
Otherwise, you will have to send explicitly header from server.
see LINE: 1500
2020-08-15 03:13:37 +05:30
nyash
df971a3667
update hx-target docs
2020-08-14 16:43:27 +02:00
nyash
1391cf0e4b
add "find" selector option to hx-target attribute
2020-08-14 16:38:18 +02:00
Ben Pate
018ba7c2c2
add processFocus to makeAjaxTask
...
This adds an additional check to makeAjaxLoadTask that focuses on the first element with the HTML standard "autofocus" attribute set.
I've put it right next to the makeAjaxLoadTask function for clarity, but it should probably be organized into a different place, next to other corresponding functions.
2020-08-13 20:50:02 -06:00
Ben Pate
3324532037
Closing connections BEFORE removing nodes
...
In some tests, the previous code triggered an htmx:swapError because the node had already been removed from the DOM before the closeConnections() function was called.
I think it was a race condition that I didn't catch earlier. Switching the ordering of these two functions makes sense, and it looks like it's addressed the error.
Sorry for the sloppy check-in.
2020-08-13 19:56:55 -06:00
Ben Pate
7325a106af
Close connections on swapInnerHTML
...
- connections were not being closed in all cases. This is a minimal patch to close connections when the InnerHTML is swapped out.
2020-08-13 19:46:19 -06:00
Robert Ros
c971719f16
Fixes issue with id attribute selector in query selector.
2020-07-20 20:57:34 +02:00
Robert Ros
c6fe43adcd
Add testcase for issue with id attributes with a dot.
2020-07-20 20:57:16 +02:00
Ben Weller
0089ce480d
use internal toArray() + map() instead of Array.from()
2020-07-20 12:44:37 -05:00
dependabot[bot]
823f31876e
Bump lodash from 4.17.15 to 4.17.19
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-07-20 11:29:48 +00: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
Ben Weller
5184d71a30
detect multiple attribute and handle getting values
2020-07-17 13:23:07 -05:00
chg20
7d83527bfb
Merge pull request #137 from bencroker/patch-15
...
Fixed encoded character
2020-07-09 13:45:24 -07:00
chg20
19a84938fe
Merge pull request #139 from bencroker/patch-16
...
Fix `revealed` modifier in docs
2020-07-09 13:44:54 -07:00
Ben Croker
a8e205c4b0
Fix revealed
modifier
2020-07-09 21:47:35 +02:00
Ben Croker
8dc2bb58a0
Fixed encoded character
2020-07-09 08:57:23 +02:00
carson
e1f586ed41
fix title
2020-07-08 13:43:26 -07:00
carson
395f10c27b
Merge branch 'dev'
v0.0.8
2020-07-08 13:41:42 -07:00
chg20
f49ec3c03c
Merge pull request #136 from bencroker/patch-14
...
Replaced Gitter chat badge with Discord
2020-07-08 13:41:04 -07:00
carson
27bab6c009
add announcement
2020-07-08 13:33:00 -07:00
Ben Croker
18ebe627f8
Replaced Gitter chat badge with Discord
...
According to https://shields.io/ ...
> To use the Discord badge a Discord server admin must enable the widget setting on the server.
2020-07-08 02:06:21 +02:00
carson
1162c4a6f4
0.0.8 release prep
2020-07-06 09:37:01 -07:00
carson
38d587ef62
Move view
modifier to show
2020-07-06 09:36:03 -07:00
chg20
83e20394ac
Merge pull request #133 from bencroker/patch-13
...
Fixed `swapSpec` when `view`
2020-07-06 09:25:28 -07:00
chg20
0d29fe5c73
Merge pull request #127 from bencroker/patch-10
...
Make indicator and request classes customisable
2020-07-06 09:25:11 -07:00
Ben Croker
5202de5524
Fixed swapSpec
when view
2020-07-06 18:23:00 +02:00
carson
aaae399308
Lets try that again
...
Experimental fix for https://github.com/bigskysoftware/htmx/issues/131
2020-07-04 15:46:25 -07:00