-
-
Notifications
You must be signed in to change notification settings - Fork 436
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
Removed unused jQuery 1.10.2, updated jQuery 1.12.1 to 1.12.4 #2442
Conversation
I just wanted to propose this change. I would go ahead and bring the last version from branch 1, which is 1.12.4. so the JQuery in OpenMage will be up to date. |
should we update it in this same PR? |
We will faced this question from now on, if any developer has used the files we want to delete or update, but we will never know if we don't step forward. I think it is more important to have all the code up to date than to leave old, outdated. Surely if there will be an issue in the future those who use OM will report it.
I have nothing against. |
ok i guess we can leave this PR in the v19 branch. and i guess it also makes sense to update the jquery 1.12 to 1.12.4 in this same PR, will to it asap (working on another issue at the moment) |
Please upload both uncompressed and minified versions https://releases.jquery.com/jquery/. If possible the map file. |
I say remove both versions, add Modules often just bundled their own version of jQuery, but in the case it was actually needed, it's an easy fix. Plus many old-school Magento installs probably just extract the releases on top of the old install anyway, and thus wouldn't have it removed. Edit: we could also place it at |
I don't think a new version will ever be released in branch 1. Leave the modification only in OM-20 and modify the XML file according to the new version. I looked through my extensions and no developer uses the JQuery library added specifically for the RWD theme, but each put their own newer or older version in the /skin directory. |
I meant to add in 1.12.4 as a replacement, so that 1.12.4 is the only version left. Or were you thinking keep both 1.12.1 and 1.12.4? |
yes I agree, but I thought we said to keep this PR in the v19 branch too no? |
we'll only have the last one ;-) |
It can be used in OM-19 as well. Basically if someone uses the classic RWD theme in Frontend he will be just fine. |
I think everything should be done now |
I have some potential feedback / ideas to test tomorrow if we can wait to merge this. |
I was trying to see if it was feasible to install jQuery via composer. There are a few ways to do it as you can see here: justinbeaty@ab05de9 (inspired by this guide) But it doesn't seem to work when installing openmage using So I'm back to approving this PR as it is. :) |
Even if I have approved it, I will check if errors appear in the browser console when I visit pages in the Frontend. If there are errors they are not from the new version anyway, but maybe we will fix them in the future. I hope it won't be necessary. |
If you search for "jquery-1.10.2" you'll see that there are no occurrencies, since version 1.12 is present and used in RWD theme
Maybe we could target this to v20, in case we think some extension uses the old version of the javascript, what do you think?