Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Joins selectors to meet spec #3844

Merged
merged 1 commit into from
Nov 19, 2023

Conversation

ekwoka
Copy link
Contributor

@ekwoka ekwoka commented Nov 2, 2023

While an array of strings can work when the runtime chooses to coerce the array to a string, it is outside of the DOM spec, which allows only a string. Some DOM runtimes, like Happy-dom do not support selectors that are arrays.

This just brings the code inline with the spec.

@calebporzio
Copy link
Collaborator

Ah interesting, I didn't know that thanks

@calebporzio calebporzio merged commit 995f7fc into alpinejs:main Nov 19, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants