imacrayon / alpine-ajax

An Alpine.js plugin for building server-powered frontends.
https://alpine-ajax.js.org
MIT License
558 stars 11 forks source link

Website examples are currently not working #80

Closed P4ulJC closed 2 months ago

P4ulJC commented 2 months ago

Hi,

Just in case you are not aware of it, the examples on the website (https://alpine-ajax.js.org/examples/) are not working currently in Firefox or Chrome. They were working a couple of days ago.

The error as reported in Firefox: Uncaught (in promise) TypeError: t.status is undefined in function statusKey(attributes, response) at module.ems.js line 472, which is: let status = response.redirected ? "3xx" : response.status.toString();

In Chrome: Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'toString') at rn (module.esm.js:472:62)

imacrayon commented 2 months ago

ooof 🤦 I definitely need to get those pages added to the test suite

They should be good to go now! Thanks for letting me know 🙌

P4ulJC commented 2 months ago

All working again. Excellent! Thanks for fixing.