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

Replace Prototype.js with native JavaScript #121

Merged
merged 1 commit into from
Jun 27, 2023

Conversation

basil
Copy link
Member

@basil basil commented May 12, 2023

See JENKINS-70906. Jenkins core currently uses Prototype 1.7, released on November 15, 2010. The latest version is Prototype 1.7.3, released on September 22, 2015. When an attempt was made to upgrade to 1.7.3 in 2018 in JENKINS-49319, the change had to be reverted. Since this library has been unmaintained for the past 8 years, this PR removes any usages of it in favor of native JavaScript APIs. To test this, I ran AntTargetAnnotationTest with these changes, put a break at the end of the test, and stepped through the changed lines in my browser in a debugger. I verified the changed lines executed correctly and the side panel was updated.

@basil basil requested a review from a team June 27, 2023 17:27
@jglick jglick merged commit 94e7d9f into jenkinsci:master Jun 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants