1cg

Results 301 comments of 1cg

pinging on this, any interest?

Looking at the code it looks like given a RScheduledExecutorService, I can see all the task ids associated with it. Not sure if these are actively running tasks or not,...

htmx uses sinon and mocha/chai: https://github.com/bigskysoftware/htmx/tree/master/test And then mocha-chome for headless testing: https://github.com/bigskysoftware/htmx/blob/938130040f13eeee55965a54bb8c9f722315d881/package.json#L24 not sure sinon is as useful for you, since htmx has to mock out AJAX

We need to recursively clean up event listeners that have been wired in by htmx when we remove content. Perf could be improved here by a recursive "requiresCleanup" boolean being...

Gah, I pulled some changes in that conflict with this. Can you hit me up on discord so we can coordinate this? https://htmx.org/discord (Im 1cg there too)

I would use a filter expression on the select and check the value

Does the content that is being returned have a title in it? Is there a way to prevent that if the `HX-Request` request header is sent?

Hmmm. Are you by any chance including htmx in multiple responses? This should only be invoked here: https://github.com/bigskysoftware/htmx/blob/851ec5d5ab2d663e6286701380139414820f3504/src/htmx.js#L2746 which is only fired when htmx is first loaded

`handleAttributes` is used to enable CSS transitions: it takes the old values of attributes for the new content and swaps them in, then swaps in the new values. Reducing the...