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

Check if IIFE (Immediately invoked Function Expression) in browserified source files are still necessary #21

Open
francois-roseberry opened this issue Nov 7, 2024 · 0 comments
Labels

Comments

@francois-roseberry
Copy link
Owner

francois-roseberry commented Nov 7, 2024

At the time, they were since browserify was putting all files in the same namespace, so if two files had similar named helper functions, they would collide.
The variables of each script would also leak in the global scope

@francois-roseberry francois-roseberry changed the title Check if browserify self-executing wrapping functions are still necessary Check if IIFE (Immediately invoked Function Expression) in browserified source files are still necessary Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant