[3.0] Add an option for cdnjs to jQuery CDNs#8004
[3.0] Add an option for cdnjs to jQuery CDNs#8004jdarwood007 merged 3 commits intoSimpleMachines:release-3.0from
Conversation
Signed-off-by: Michael Eshom <oldiesmann@gmail.com>
|
We implemented cloudflare cdn in #7933 when adding fontawesome, we can add it to jquery there |
|
@DiegoAndresCortes, would you prefer yours or Oldies then? If you want yours, closeout and merge the theme one later. At another layer. I think we need to abstract the CDN logic. So it's easy to add more providers in the future or remove them. As well as identify which files they can serve, then allow passing or grabbing which 'version' they should be using as defined by our software. A "local" provider is always the SMF install. |
|
Personally, I think it would be best to push this to alpha 4 when the other template changes are targeted. |
|
The only theme-related files this touches are a couple of language files. It doesn't modify the templates at all. |
|
@Oldiesmann This has a conflict that needs resolved. |
Should be fixed now. |
This PR adds built-in support for loading jQuery from Cloudflare's CDN (aka "cdnjs"). While it doesn't add any additional benefits, it gives us another solid option in addition to the ones provided.