mirror of
https://github.com/e107inc/e107.git
synced 2025-03-14 01:19:44 +01:00
Commented library preload code.
This commit is contained in:
parent
099dffdfdd
commit
04576b9f79
@ -940,6 +940,36 @@ class core_library
|
||||
'library_path' => '{e_WEB}lib/font-awesome',
|
||||
'path' => '5',
|
||||
'version' => '5.15.2',
|
||||
/* 'preload' => array(
|
||||
1 => array(
|
||||
'as' => 'font',
|
||||
'type' => 'font/woff',
|
||||
'path' => 'webfonts/fa-solid-900.woff',
|
||||
'crossorigin' => false,
|
||||
'browsercache' => false,
|
||||
),
|
||||
2 => array(
|
||||
'as' => 'font',
|
||||
'type' => 'font/woff',
|
||||
'path' => 'webfonts/fa-brands-400.woff',
|
||||
'crossorigin' => false,
|
||||
'browsercache' => false,
|
||||
),
|
||||
3 => array(
|
||||
'as' => 'font',
|
||||
'type' => 'font/woff2',
|
||||
'path' => 'webfonts/fa-solid-900.woff2',
|
||||
'crossorigin' => false,
|
||||
'browsercache' => false,
|
||||
),
|
||||
4 => array(
|
||||
'as' => 'font',
|
||||
'type' => 'font/woff2',
|
||||
'path' => 'webfonts/fa-brands-400.woff2',
|
||||
'crossorigin' => false,
|
||||
'browsercache' => false,
|
||||
),
|
||||
),*/
|
||||
);
|
||||
|
||||
|
||||
|
@ -4,7 +4,7 @@ if(e_ADMIN_AREA !==true)
|
||||
{
|
||||
|
||||
e107::css('social', 'css/fontello.css');
|
||||
e107::link(array('rel'=>'preload', 'href'=> "{e_PLUGIN}social/font/fontello.woff2?21917124", 'as' => "font", 'type'=>"font/woff2", 'crossorigin' => true));
|
||||
e107::link(array('rel'=>'preload', 'href'=> "{e_PLUGIN}social/font/fontello.woff2?21917124", 'as' => "font", 'type'=>"font/woff2", 'crossorigin' => 'anonymous'));
|
||||
e107::css('social' ,'css/social.css');
|
||||
|
||||
$appID = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user