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

Use a better build tool than just loading individual JavaScript files separated by closures #2

Open
MaffooBristol opened this issue Dec 28, 2018 · 0 comments
Labels

Comments

@MaffooBristol
Copy link
Owner

When I changed var to const the whole thing borked because it was requiring modules multiples times. So I fixed this by putting them into self-calling function closures, but this is janky and ugly as fuck. So I'm going to try and move things into ES6 classes and use something like webpack/babel to build a single js file

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