2407 Commits

Author SHA1 Message Date
Carson Gross
983ca3288a formatting 2023-06-26 17:22:44 -06:00
Carson Gross
cf5ecb9f85 formatting 2023-06-26 17:22:08 -06:00
Carson Gross
be8c501458 space better 2023-06-26 17:21:24 -06:00
Carson Gross
19e8dec871 hyperscript powered copy buttons let's GO 2023-06-26 17:19:17 -06:00
Carson Gross
c9b0444b54 hyperscript powered copy buttons let's GO 2023-06-26 09:34:54 -06:00
Carson Gross
393b0bb70c format 2023-06-26 08:53:24 -06:00
Carson Gross
84b25cd31c fix date 2023-06-26 08:48:40 -06:00
Carson Gross
ed92178e6d Merge remote-tracking branch 'origin/master' 2023-06-26 08:45:32 -06:00
Carson Gross
decaecb0cc rest copypasta 2023-06-26 08:45:24 -06:00
Vincent
714adc46e3
Encode as URL params for DELETE requests, instead of using body (#1513) 2023-06-24 14:27:13 -06:00
srcerer
336088a8b5
Update podcasts.csv (#1486) 2023-06-24 14:23:05 -06:00
Alexander Petros
d3788776d6
Fix clearWorkArea test util function (#1507)
Update the clearWorkArea function so that it doesn't error if there was
never a work area set up to begin with. This was causing the `npm test`
target to end with an error code.

The package-lock.json update happens on a fresh install with node 15, so
I'm including it here to make sure that the tests passing is
reproducible. I also updated the package.json file to warn you if you're
not running node 15.
2023-06-24 14:22:22 -06:00
Alexander Petros
fe4a803e2e
Add logNone function and apply it to tests (#1504)
New function to turn off the logger after using `logAll()`. I applied to
this to the tests as well so that `logAll()` is only used in the specfic
places where debug output is required. This makes the console output of
the tests dramatically more useful when run from the command line.
2023-06-24 14:21:55 -06:00
Ben Pate
081aaf3cca
Merge pull request #1493 from checketts/preload-source
Preload extension: Include preloaded node as 'source' for preload so hx-sync/queue works properly
2023-06-20 10:18:09 -06:00
Clint Checketts
f39c0be9b6 Include node as 'source' for preload so hx-sync/queue works properly 2023-06-19 10:58:21 -06:00
Vincent
dd53ca0a75
Doc - make it clear that closest can return the element itself #1487 (#1488) 2023-06-15 11:48:32 -06:00
Carson Gross
b4a61c543b Merge remote-tracking branch 'origin/master' 2023-06-13 12:34:46 -06:00
Carson Gross
6e1ed4a162 essay 2023-06-13 12:34:36 -06:00
Alexander Petros
adef1166e2
Add support for hx-on:* attribute (#1489)
* Add support for hx-on:* attribute

* Use shorter XPath selector

* Add support for "hx-on::" shorthand

* Add note about mixing the two forms of `hx-on`
2023-06-13 09:23:16 -06:00
Denis Palashevskii
108d2b458a
Fix WebSocket extension trigger handlers initialization (#1468)
* fix websockets initialization to accomodate "haked hx-trigger"

* update changelog
2023-06-07 15:04:40 -06:00
Vincent
81ead8e39a
Fix inverted elt / target for sse selectAndSwap (#1483) 2023-06-07 15:04:06 -06:00
Garry Pshonik
34612f0d0c
Fix relative link to hypermedia-friendly-scripting essay (#1457) 2023-06-07 15:03:08 -06:00
Tadej Stanic
19f8ee9b20
fix type in sse event (#1463) 2023-06-07 15:01:47 -06:00
Elliott Brown
ec90998e77
Fix link (#1466) 2023-06-07 15:01:23 -06:00
Denis Palashevskii
4d84af4a58
fix typo in scripting example (#1470)
Replace htmx:beforeRequest with htmx:configRequest
2023-06-07 15:00:56 -06:00
Denis Palashevskii
c8568ea774
fix a bug with afterSettle event raised just once after multiple OOB swaps (#1474) 2023-06-07 15:00:25 -06:00
Alexander Petros
be1cb533ed
Include note about 204 in hx-delete docs and examples (#1475) 2023-06-07 14:58:32 -06:00
Carson Gross
59242a5f28 accelerator announcement, link HOWL essay 2023-06-07 06:58:49 -06:00
Carson Gross
352caec9e4 Merge remote-tracking branch 'origin/master' 2023-06-07 05:18:49 -06:00
Carson Gross
6bc2e17f3b change language to "RESTless" 2023-06-07 05:18:42 -06:00
Carson Gross
ae19c18b20 Merge branch 'master' into dev
# Conflicts:
#	www/content/essays/hypermedia-on-whatever-youd-like.md
#	www/themes/htmx-theme/static/css/site.css
2023-06-03 14:20:16 -06:00
Ben Croker
6180ad2b25
Fix incorrect attribute 2023-06-01 10:37:36 +02:00
Carson Gross
8bf945ab03 fix typo 2023-05-26 07:59:48 -06:00
Carson Gross
b20bedcb96 fine 2023-05-24 13:03:31 -06:00
Carson Gross
0192402c76 rework for easier sponsorship 2023-05-24 12:53:47 -06:00
Carson Gross
93fa44d5c3 move lists in to align w/ quotes 2023-05-24 09:29:33 -06:00
Carson Gross
f01564b926 knock down spacing a bit 2023-05-24 09:26:38 -06:00
Carson Gross
b5097582b4 improvements 2023-05-24 07:38:23 -06:00
Carson Gross
df94ba6822 images for HOWL essay 2023-05-23 09:37:51 -06:00
Carson Gross
08ff8cc398 Merge remote-tracking branch 'origin/master' 2023-05-23 09:34:00 -06:00
Carson Gross
716b79b50c update HOWL essay 2023-05-23 09:33:34 -06:00
Carson Gross
0688a550b3 cherry pick HOWL essay to master 2023-05-23 09:33:04 -06:00
Carson Gross
b5a01c1158 update HOWL essay 2023-05-23 09:31:48 -06:00
Mark Croxton
2bbe36301a
Allow time for browser to render layout restored from history cache before setting the cached scroll position. (#1344) 2023-05-23 09:54:09 -05:00
Henrik Lau Eriksson
eb91ae4be0
Add Markupolation samples (#1421) 2023-05-23 09:48:58 -05:00
Antonio Pagano
e626e2aea6
docs: updating attribute table to use beforeend instead of beforeEnd (#1427)
* docs: updating attribute table to use beforeend instead of beforeEnd

* docs: updating jetbrains attributes
2023-05-23 09:47:38 -05:00
Christiaan B van Zyl
cbdbe1d858
Init (#1428) 2023-05-23 09:47:16 -05:00
Paweł Wilk
7fc5ac5074
response-targets extension with documentation, exposed 3 functions in internal API (#1436)
* findThisElement, getClosestAttributeValue, querySelectorExt exposed in internal API

* Added response-targets extension.

* Extra check for empty element in response-targets.js

* Added test/ext/response-targets.js

* Linked response-targets.md

* Added htmx.config.{responseTargetPrefersExisting, responseTargetPrefersRetargetHeader} configuration options

* Typo fixed (not impacting logic)
2023-05-23 09:46:54 -05:00
maetthew
9bd3e3b1e3
Fix missing a word in the reference (#1422) 2023-05-23 09:44:16 -05:00
Niels Dequeker
a48302373b
Fix typo in custom modal example (#1429) 2023-05-23 09:44:00 -05:00