osverdlov wrote on Thursday, April 21, 2016:
Hey,
Among 20 instances of different jquery version, which one is recommended to use?
osverdlov wrote on Thursday, April 21, 2016:
Hey,
Among 20 instances of different jquery version, which one is recommended to use?
yehster wrote on Thursday, April 21, 2016:
For new development using 1.9.1 (newest version) is best. Alternately we could pull in 1.12.3 or 2.2.3.
Old versions are there because of compatbility issues with other libraries and there haven’t been resources to test and update older code.
osverdlov wrote on Sunday, May 01, 2016:
You suggest to use
library/js/jquery-1.9.1.min.js
Is this correct?
library/js/jquery.js is used in a lot of places, basically it’s 1.2.1 .
yehster wrote on Sunday, May 01, 2016:
Yes, 1.9.1 is the most recent version currently included in the source tree.
The older versions are still in use because to upgrade would require more testing, but if you are developing new code, there won’t be interaction with the older versions.
kevmccor wrote on Saturday, May 14, 2016:
If one chooses 1.9.1, then which jquery-ui is best? Also, what about jquery-ui css?
osverdlov wrote on Sunday, May 15, 2016:
I would suggest using at least jquery-ui 1.10 . Note in 1.11 they made a few changes ( https://jqueryui.com/upgrade-guide/1.11/ ) that may not be compatible with our environment ( and dropped IE7 support ). Perhaps Robert can weight in.
kevmccor wrote on Sunday, May 15, 2016:
I customized jquery-ui-1.10.4, which includes jquery-1.10.2, but the jquery is minimized, not totally minified… My theme-roller customization is supposed to have colors that are pretty close to default OpenEMR. It includes all components. I’ll see if I can get it into my current git branch. I am also trying to use the DataTables plugin for jquery. Their current download is v1.10.11, which appears too advanced, since it uses jquery-ui-1.11.4. OpenEMR has the 1.9.0 version in /library/js/datables/media/js. Hopefully this will work.
kevmccor wrote on Thursday, May 19, 2016:
I have the jquery DataTables 1.10.11 in my current github branch. Using this with jquery-ui-1.10.4 and jquery-1.10.2 seems to be working.