-
Notifications
You must be signed in to change notification settings - Fork 73
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
Conversation
" factory( jQuery );\n" + | ||
" }\n" + | ||
"} )( function( $ ) {\n" + | ||
"\"use strict\";\n"; |
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.
These are long enough, it might be nice to use external wrapper.js files instead.
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.
Yeah. Even better if they were defined in the jQuery UI repo, not here, but I guess that ship has sailed...
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.
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.
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.
LGTM
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
Landed in 70713ec...6aa903a. |
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.