1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 20:00:37 +02:00

Ability to use CDN for core-defined libraries. Ability to select CDN provider.

This commit is contained in:
Lóna Lore
2017-01-08 12:02:10 +01:00
parent 3dee2dc977
commit efeeeb94a4
330 changed files with 63064 additions and 29 deletions

View File

@@ -239,11 +239,16 @@ class e_jsmanager
{
if($this->isInAdmin()) // Admin Area.
{
// TODO
e107::library('load', 'jquery', $minified);
// jQuery Once is used in e107.behaviors.
e107::library('load', 'jquery.once', $minified);
e107::library('load', 'jquery.ui', $minified);
}
else // Front-End.
{
// TODO
e107::library('load', 'jquery', $minified);
// jQuery Once is used in e107.behaviors.
e107::library('load', 'jquery.once', $minified);
}
}
else // Use CDN files.