YazFi icon indicating copy to clipboard operation
YazFi copied to clipboard

Code improvement

Open Martinski4GitHub opened this issue 1 year ago • 2 comments

Removed/modified code related to "var $j = jQuery.noConflict();" which is now considered obsolete.

Martinski4GitHub avatar Aug 19 '24 10:08 Martinski4GitHub

this was needed on older firmwares due to old jquery. does this affect minimum version support?

jackyaz avatar Aug 22 '24 18:08 jackyaz

this was needed on older firmwares due to old jquery. does this affect minimum version support?

Sorry, I don't really understand the question about "minimum version support" WRT jQuery.

My current understanding is as follows. According to dave14305, the changes related to the line "var $j=jQuery.noConflict();" were made to ensure compatibility & avoid conflicts with John's forked F/W builds. However, John (aka john9527) has essentially stopped the development of his fork. The last official release was issued on 2021-Dec-19, and the last Development-Beta release was issued on 2022-Aug-03. So for all intents and purposes, John's fork has been abandoned for at least 2 years now, and no one else is stepping up to take his place. So the current recommendation is to remove those "$j" changes since they are now considered obsolete and are starting to cause some issues with the latest RMerlin F/W builds.

I hope this helps to provide more context.

Martinski4GitHub avatar Aug 23 '24 07:08 Martinski4GitHub

@jackyaz,

This PR now includes a fix to properly compare F/W versions using the full version string (e.g. "3004.386.4.2") instead of the short version (e.g. "386.4.2") because with the latest 3006.102.x.y release builds, the version comparisons are giving erroneous results (e.g. "102.x.y" is less than "386.4.2").

Whenever you have a chance, please merge this PR into your 'develop' branch.

Thank you.

Martinski4GitHub avatar Mar 18 '25 07:03 Martinski4GitHub

@Martinski4GitHub - does this still work on 3004.388.x versions?

helpfulBro avatar Mar 20 '25 10:03 helpfulBro

@Martinski4GitHub - does this still work on 3004.388.x versions?

If by "this" you're referring specifically to the changes included in this PR then yes, they are backward compatible with "3004.388.x.y" F/W versions.

Martinski4GitHub avatar Mar 21 '25 07:03 Martinski4GitHub

Jack Yaz, Thank you for taking the time to merge the pending PRs. Have a great weekend, mate!!

Martinski4GitHub avatar May 24 '25 03:05 Martinski4GitHub