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

Merge legacy.js and main.mjs into main.js #755

Merged
merged 7 commits into from
Apr 4, 2024

Conversation

camillobruni
Copy link
Contributor

There is no advantage of using modules over classic scripts if there are no imports.
We currently have the legacy script as a nomodule fallback, we can merge them easily into a single main.js script and simplify the page a bit.

@camillobruni camillobruni requested a review from o- April 4, 2024 15:14
@camillobruni camillobruni merged commit 3f113cb into main Apr 4, 2024
4 checks passed
@camillobruni camillobruni deleted the 2024-04-02_drop_modules branch April 4, 2024 16:00
@tomayac
Copy link
Contributor

tomayac commented Apr 4, 2024

@camillobruni I didn't look closely, but it seems like this potentially broke dark mode. Could you have a look, please?

@camillobruni
Copy link
Contributor Author

Ups right, I accidentally removed the dark-mode import... planned to replace this with some simpler logic.
Will fix this tomorow.

@tomayac
Copy link
Contributor

tomayac commented Apr 5, 2024

Filed #758 as a reminder. Thanks for working on this!

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

Successfully merging this pull request may close these issues.

None yet

3 participants