Open remocrevo opened 9 years ago
Shouldn't we use the CDN instead of embeding jquery ? Using <script src="//code.jquery.com/jquery-VERSION.min.js"></script> gives us a handy way to get the jquery version we want quickly.
We currently use the 1.4.4 it seems, we could have the following plan:
Remington, if you agree with this proposal, I can do it (& do a pull request)
@PaulPoulain yes, you are welcome to work on updating CORAL's version of jQuery. It looks like the calendar/date-picker is using an old custom plugin, so you should probably convert it to use whatever is normal in jQuery now. Thanks for offering!
And yes, I think the CDN is probably fine. I can see possible benefits to including the jQuery code with CORAL so that each site hosts it themselves, but I don't know enough about it to make a recommendation.
there's no real pro for hosting jquery yourself (that I know), and there are some cons:
I'm in favor of using a CDN.
That's three votes for CDN so it might as well proceed.
We need to upgrade CORAL to use a newer version of jQuery, and we need a plan for staying up to date.