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

Template: Add support for jQuery UI 1.14 #616

Closed
wants to merge 6 commits into from
Closed

Conversation

mgol
Copy link
Member

@mgol mgol commented Jun 5, 2024

Merge a couple of files to avoid creating new files for 1.14. Add support where needed. Drop jquery-ui-themeroller which duplicated lots of code from this package and made maintenance harder.

When this lands, I'll still need to add the 1.14 beta to the download matrix but I'll do that separately.

@mgol mgol self-assigned this Jun 5, 2024
@mgol mgol requested review from fnagel and timmywil and removed request for fnagel and timmywil June 5, 2024 23:04
@mgol mgol requested review from fnagel and timmywil June 7, 2024 22:40
" factory( jQuery );\n" +
" }\n" +
"} )( function( $ ) {\n" +
"\"use strict\";\n";
Copy link
Member

Choose a reason for hiding this comment

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

These are long enough, it might be nice to use external wrapper.js files instead.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah. Even better if they were defined in the jQuery UI repo, not here, but I guess that ship has sailed...

Copy link
Member Author

Choose a reason for hiding this comment

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

But they were already defined inline, just in two files instead of one. I'd consider this to be an improvement to be addressed separately, not blocking this PR.

Copy link
Member

@timmywil timmywil left a comment

Choose a reason for hiding this comment

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

LGTM

mgol added 6 commits June 11, 2024 14:22
Differences between them were already minimal; the few differences are now
accounted for directly in the `package.js` code.

Ref jquerygh-616
Also, rename `jquery-ui-1-12.js` to `jquery-ui-manifests.js` to account for it
now being used for all jQuery UI versions.

Ref jquerygh-616
`download.jqueryui.com` has been using two very similar versions of themeroller:
one in the repository and another one from the `jquery-ui-themeroller` package.
This change makes it only use the in-repo one, with the intent to eventually
deprecate the outside repository & the associated npm package.

Ref jquerygh-616
@mgol mgol removed the Needs review label Jun 11, 2024
@mgol mgol closed this in 6aa903a Jun 11, 2024
@mgol mgol deleted the refactors branch June 11, 2024 12:27
@mgol
Copy link
Member Author

mgol commented Jun 11, 2024

Landed in 70713ec...6aa903a.

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

Successfully merging this pull request may close these issues.

2 participants