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

fix conflicting function names in sse.js #2096

Merged
merged 4 commits into from
Dec 14, 2023
Merged

fix conflicting function names in sse.js #2096

merged 4 commits into from
Dec 14, 2023

Conversation

Renerick
Copy link
Collaborator

@Renerick Renerick commented Dec 14, 2023

Description

There was a function naming conflict after #2025. I missed it because it worked on current dev since htmx.js initialized createEventSource parameter, but after removing it for 2.0, it led to infinite recursion and errors

Corresponding issue: discovered when updating #2095 to latest dev

Testing

I applied the patch to WS/SSE removal branch and ensured that recursion error was gone

Checklist

  • I have read the contribution guidelines
  • I have targeted this PR against the correct branch (master for website changes, dev for
    source changes)
  • This is either a bugfix, a documentation update, or a new feature that has been explicitly
    approved via an issue
  • I ran the test suite locally (npm run test) and verified that it succeeded

@1cg 1cg merged commit 31d01c9 into dev Dec 14, 2023
1 check passed
@Renerick Renerick deleted the sse-function-names-fix branch December 14, 2023 22:11
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