Folder renamed: fontawesome

This commit is contained in:
nobody 2021-02-02 05:48:41 +01:00
parent a29c0a9a8a
commit d8e91b307a
No known key found for this signature in database
GPG Key ID: 8F6DE3D614FCFD7A
18 changed files with 20 additions and 20 deletions

View File

@ -417,23 +417,23 @@ var resources = {
}, },
// Font Awesome // Font Awesome
'fontawesome': { 'fontawesome': {
'path': 'resources/fontawesome/{version}/css/font-awesome.min.css', 'path': 'resources/font-awesome/{version}/css/font-awesome.min.css',
'type': 'text/css' 'type': 'text/css'
}, },
'fontawesome5CSS': { 'fontawesome5CSS': {
'path': 'resources/fontawesome/{version}/css/all.min.css', 'path': 'resources/font-awesome/{version}/css/all.min.css',
'type': 'text/css' 'type': 'text/css'
}, },
'fontawesome5CSSv4shims': { 'fontawesome5CSSv4shims': {
'path': 'resources/fontawesome/{version}/css/v4-shims.min.css', 'path': 'resources/font-awesome/{version}/css/v4-shims.min.css',
'type': 'text/css' 'type': 'text/css'
}, },
'fontawesome5JS': { 'fontawesome5JS': {
'path': 'resources/fontawesome/{version}/js/all.min.jsm', 'path': 'resources/font-awesome/{version}/js/all.min.jsm',
'type': 'application/javascript' 'type': 'application/javascript'
}, },
'fontawesomeFontsOnly': { 'fontawesomeFontsOnly': {
'path': 'resources/fontawesome/{version}/fonts/' 'path': 'resources/font-awesome/{version}/fonts/'
}, },
// GSAP // GSAP
'gsapBundle': { 'gsapBundle': {

View File

@ -75,7 +75,7 @@ shorthands.specialFiles = function (channelHost, channelPath, searchString) {
'bundle': '' 'bundle': ''
}; };
} else if (Regex.FONT_AWESOME.test(channelHost + channelPath)) { } else if (Regex.FONT_AWESOME.test(channelHost + channelPath)) {
lastVersion = targets.setLastVersion('/fontawesome/4.'); lastVersion = targets.setLastVersion('/font-awesome/4.');
return { return {
'source': channelHost, 'source': channelHost,
'versionRequested': '4.6.3', 'versionRequested': '4.6.3',
@ -85,7 +85,7 @@ shorthands.specialFiles = function (channelHost, channelPath, searchString) {
}; };
} else if (Regex.FONT_AWESOME_WITH_CODE.test(channelHost + channelPath)) { } else if (Regex.FONT_AWESOME_WITH_CODE.test(channelHost + channelPath)) {
let fileExtension = channelPath.endsWith('css') ? 'css' : 'jsm'; let fileExtension = channelPath.endsWith('css') ? 'css' : 'jsm';
lastVersion = targets.setLastVersion('/fontawesome/4.'); lastVersion = targets.setLastVersion('/font-awesome/4.');
return { return {
'source': channelHost, 'source': channelHost,
'versionRequested': '4.6.3', 'versionRequested': '4.6.3',
@ -120,11 +120,11 @@ shorthands.specialFiles = function (channelHost, channelPath, searchString) {
}; };
} else if ((channelHost + channelPath) === 'netdna.bootstrapcdn.com/font-awesome/latest/css/font-awesome.min.css') { } else if ((channelHost + channelPath) === 'netdna.bootstrapcdn.com/font-awesome/latest/css/font-awesome.min.css') {
// This CDN delivers 'Font Awesome v4.7.0' as latest version // This CDN delivers 'Font Awesome v4.7.0' as latest version
lastVersion = targets.setLastVersion('/fontawesome/4.'); lastVersion = targets.setLastVersion('/font-awesome/4.');
return { return {
'source': channelHost, 'source': channelHost,
'versionRequested': lastVersion, 'versionRequested': lastVersion,
'path': 'resources/fontawesome/' + lastVersion + '/css/font-awesome.min.css', 'path': 'resources/font-awesome/' + lastVersion + '/css/font-awesome.min.css',
'bundle': '' 'bundle': ''
}; };
} else if ((channelHost + channelPath) === 'cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.0.0-beta.2.4/owl.carousel.min.js') { } else if ((channelHost + channelPath) === 'cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.0.0-beta.2.4/owl.carousel.min.js') {

View File

@ -216,11 +216,11 @@ targets.setLastVersion = function (type, version) {
return '3.5.7'; return '3.5.7';
} else if (type.startsWith('/flv.js/')) { } else if (type.startsWith('/flv.js/')) {
return '1.5.0'; return '1.5.0';
} else if (type.startsWith('/fontawesome/3.')) { } else if (type.startsWith('/font-awesome/3.')) {
return '3.2.1'; return '3.2.1';
} else if (type.startsWith('/fontawesome/4.')) { } else if (type.startsWith('/font-awesome/4.')) {
return '4.7.0'; return '4.7.0';
} else if (type.startsWith('/fontawesome/5.')) { } else if (type.startsWith('/font-awesome/5.')) {
return '5.15.2'; return '5.15.2';
} else if (type.startsWith('/gsap/1.')) { } else if (type.startsWith('/gsap/1.')) {
return '1.20.5'; return '1.20.5';

View File

@ -188,7 +188,7 @@ statistics._displayNameOfFramework = function (str, type) {
if (filename === 'Unknown') { if (filename === 'Unknown') {
filename = targets.determineBundle(str); filename = targets.determineBundle(str);
if (filename === '' && str.startsWith('resources/fontawesome/')) { if (filename === '' && str.startsWith('resources/font-awesome/')) {
filename = 'Font Awesome (Fonts)' filename = 'Font Awesome (Fonts)'
} }
} }

View File

Before

Width:  |  Height:  |  Size: 458 KiB

After

Width:  |  Height:  |  Size: 458 KiB

View File

Before

Width:  |  Height:  |  Size: 107 KiB

After

Width:  |  Height:  |  Size: 107 KiB

View File

Before

Width:  |  Height:  |  Size: 639 KiB

After

Width:  |  Height:  |  Size: 639 KiB

View File

@ -3,17 +3,17 @@
* File modified by nobody/LocalCDN * File modified by nobody/LocalCDN
* *
*/ */
@import url('../fontawesome/4.7.0/css/font-awesome.min.css'); @import url('../font-awesome/4.7.0/css/font-awesome.min.css');
/* FONT PATH /* FONT PATH
* -------------------------- */ * -------------------------- */
@font-face { @font-face {
font-family: 'FontAwesome'; font-family: 'FontAwesome';
src: url('../fontawesome/4.7.0/fonts/fontawesome-webfont.eot'); src: url('../font-awesome/4.7.0/fonts/fontawesome-webfont.eot');
src: url('../fontawesome/4.7.0/fonts/fontawesome-webfont.eot?#iefix') format('embedded-opentype'), src: url('../font-awesome/4.7.0/fonts/fontawesome-webfont.eot?#iefix') format('embedded-opentype'),
url('../fontawesome/4.7.0/fonts/fontawesome-webfont.woff2') format('woff2'), url('../font-awesome/4.7.0/fonts/fontawesome-webfont.woff2') format('woff2'),
url('../fontawesome/4.7.0/fonts/fontawesome-webfont.woff') format('woff'), url('../font-awesome/4.7.0/fonts/fontawesome-webfont.woff') format('woff'),
url('../fontawesome/4.7.0/fonts/fontawesome-webfont.ttf') format('truetype'), url('../font-awesome/4.7.0/fonts/fontawesome-webfont.ttf') format('truetype'),
url('../fontawesome/4.7.0/fonts/fontawesome-webfont.svg#fontawesomeregular') format('svg'); url('../font-awesome/4.7.0/fonts/fontawesome-webfont.svg#fontawesomeregular') format('svg');
font-weight: normal; font-weight: normal;
font-style: normal; font-style: normal;
} }