Skip to content

Drop jquery #62

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

Merged
merged 2 commits into from
May 4, 2025
Merged

Drop jquery #62

merged 2 commits into from
May 4, 2025

Conversation

rimrul
Copy link
Member

@rimrul rimrul commented May 4, 2025

rimrul added 2 commits May 4, 2025 12:28
We mainly used jQuery because fancybox depended on it. But both our
version of fancybox and our version of jquery where severely outdated.
Current versions of fancybox are only available under a commercial
license, so we switch to an open source alternative. Baguettebox was
chosen because it's small, actively maintained, has no dependencies and
offers all the features we used in fancybox.

Signed-off-by: Matthias Aßhauer <mha1993@live.de>
html5shiv.js and response.js where originally added to support internet
explorer versions prior to version 9. We don't support internet explorer
anymore, but didn't drop  these scripts yet.

Signed-off-by: Matthias Aßhauer <mha1993@live.de>
@rimrul rimrul marked this pull request as ready for review May 4, 2025 10:44
Copy link
Member

@dscho dscho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice!

@dscho dscho merged commit 2c7ed11 into git-for-windows:main May 4, 2025
1 check passed
@rbqvq
Copy link
Contributor

rbqvq commented May 30, 2025

We still need jQuery for replace Download button href

After you drop it

$('a.button:contains("Download")')[0]

Uncaught SyntaxError: Failed to execute '$' on 'CommandLineAPI': 'a.button:contains("Download")' is not a valid selector.
    at <anonymous>:1:1

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.

Unsupported version of jQuery packaged in assets
3 participants