-
Notifications
You must be signed in to change notification settings - Fork 388
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
Split big index.js file into multiple smaller files #1761
Conversation
8ec783e
to
8bae043
Compare
omg is it finally happening?! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for working this @yuvipanda!!!
LGTM except a few (I think) easy-to-resolve comments!
- Follows the plan laid out in jupyterhub#777 - Only non-trivial move is to cleanup the `_config` call to use the more modern 'fetch' API rather than the older XMLHttpRequest API Fixes jupyterhub#777
Co-authored-by: Erik Sundell <erik.i.sundell@gmail.com>
Thanks @consideRatio. I've applied your suggested changes. I think after this gets merged, I'll enable prettier for JS in this repo as well, so that should handle all other formatting inconsistencies. |
Wieeee thank you @yuvipanda for taking the time to this!!! ❤️ 🎉 |
jupyterhub/binderhub#1761 Merge pull request #1761 from yuvipanda/split
Refactor index.js megafile into mutliple files #777
_config
call touse the more modern 'fetch' API rather than the older
XMLHttpRequest API
Fixes #777
A screen recording of me testing this is available in
#1758