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

camelCase() is minified to a function named e() #18

Open
mikehulbert opened this issue Jul 24, 2024 · 0 comments
Open

camelCase() is minified to a function named e() #18

mikehulbert opened this issue Jul 24, 2024 · 0 comments

Comments

@mikehulbert
Copy link

mikehulbert commented Jul 24, 2024

Hey @domchristie 👋,

I have an intermittent issue that arises from the camelCase helper being minified to the below function.

function e(t){return t.split(/[^\w]/).map(((t,e)=>0===e?t.toLowerCase():i(t))).join("")}

The e function occasionally overrides parameters in my javascript, I use e for javascript events a lot e.g. submit(e) (relatively common parameter name).

I'm importing '@domchristie/turn/dist/turn.js' which resolves the issue although I wanted to highlight it with you.

Mike

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

No branches or pull requests

1 participant