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

Refactor main.js #4313

Closed
mmmavis opened this issue Mar 7, 2020 · 1 comment
Closed

Refactor main.js #4313

mmmavis opened this issue Mar 7, 2020 · 1 comment
Assignees
Milestone

Comments

@mmmavis
Copy link
Collaborator

mmmavis commented Mar 7, 2020

main.js has grown big and become hard to maintain. Let's refactor it.

Some ideas

  • Put event handlers in their own files (maybe also further separate global/document handlers from others?)
  • Many event handlers are env var independent and can/need to be bound before we hear back from fetchEnv

/cc @Pomax to drop in thoughts

@mmmavis
Copy link
Collaborator Author

mmmavis commented Apr 17, 2020

Yay! This is done! I'll create another ticket for refactoring bg-main.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants