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
'fontawesome': {
'path': 'resources/fontawesome/{version}/css/font-awesome.min.css',
'path': 'resources/font-awesome/{version}/css/font-awesome.min.css',
'type': 'text/css'
},
'fontawesome5CSS': {
'path': 'resources/fontawesome/{version}/css/all.min.css',
'path': 'resources/font-awesome/{version}/css/all.min.css',
'type': 'text/css'
},
'fontawesome5CSSv4shims': {
'path': 'resources/fontawesome/{version}/css/v4-shims.min.css',
'path': 'resources/font-awesome/{version}/css/v4-shims.min.css',
'type': 'text/css'
},
'fontawesome5JS': {
'path': 'resources/fontawesome/{version}/js/all.min.jsm',
'path': 'resources/font-awesome/{version}/js/all.min.jsm',
'type': 'application/javascript'
},
'fontawesomeFontsOnly': {
'path': 'resources/fontawesome/{version}/fonts/'
'path': 'resources/font-awesome/{version}/fonts/'
},
// GSAP
'gsapBundle': {

View File

@ -75,7 +75,7 @@ shorthands.specialFiles = function (channelHost, channelPath, searchString) {
'bundle': ''
};
} else if (Regex.FONT_AWESOME.test(channelHost + channelPath)) {
lastVersion = targets.setLastVersion('/fontawesome/4.');
lastVersion = targets.setLastVersion('/font-awesome/4.');
return {
'source': channelHost,
'versionRequested': '4.6.3',
@ -85,7 +85,7 @@ shorthands.specialFiles = function (channelHost, channelPath, searchString) {
};
} else if (Regex.FONT_AWESOME_WITH_CODE.test(channelHost + channelPath)) {
let fileExtension = channelPath.endsWith('css') ? 'css' : 'jsm';
lastVersion = targets.setLastVersion('/fontawesome/4.');
lastVersion = targets.setLastVersion('/font-awesome/4.');
return {
'source': channelHost,
'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') {
// This CDN delivers 'Font Awesome v4.7.0' as latest version
lastVersion = targets.setLastVersion('/fontawesome/4.');
lastVersion = targets.setLastVersion('/font-awesome/4.');
return {
'source': channelHost,
'versionRequested': lastVersion,
'path': 'resources/fontawesome/' + lastVersion + '/css/font-awesome.min.css',
'path': 'resources/font-awesome/' + lastVersion + '/css/font-awesome.min.css',
'bundle': ''
};
} 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';
} else if (type.startsWith('/flv.js/')) {
return '1.5.0';
} else if (type.startsWith('/fontawesome/3.')) {
} else if (type.startsWith('/font-awesome/3.')) {
return '3.2.1';
} else if (type.startsWith('/fontawesome/4.')) {
} else if (type.startsWith('/font-awesome/4.')) {
return '4.7.0';
} else if (type.startsWith('/fontawesome/5.')) {
} else if (type.startsWith('/font-awesome/5.')) {
return '5.15.2';
} else if (type.startsWith('/gsap/1.')) {
return '1.20.5';

View File

@ -188,7 +188,7 @@ statistics._displayNameOfFramework = function (str, type) {
if (filename === 'Unknown') {
filename = targets.determineBundle(str);
if (filename === '' && str.startsWith('resources/fontawesome/')) {
if (filename === '' && str.startsWith('resources/font-awesome/')) {
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
*
*/
@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-face {
font-family: 'FontAwesome';
src: url('../fontawesome/4.7.0/fonts/fontawesome-webfont.eot');
src: url('../fontawesome/4.7.0/fonts/fontawesome-webfont.eot?#iefix') format('embedded-opentype'),
url('../fontawesome/4.7.0/fonts/fontawesome-webfont.woff2') format('woff2'),
url('../fontawesome/4.7.0/fonts/fontawesome-webfont.woff') format('woff'),
url('../fontawesome/4.7.0/fonts/fontawesome-webfont.ttf') format('truetype'),
url('../fontawesome/4.7.0/fonts/fontawesome-webfont.svg#fontawesomeregular') format('svg');
src: url('../font-awesome/4.7.0/fonts/fontawesome-webfont.eot');
src: url('../font-awesome/4.7.0/fonts/fontawesome-webfont.eot?#iefix') format('embedded-opentype'),
url('../font-awesome/4.7.0/fonts/fontawesome-webfont.woff2') format('woff2'),
url('../font-awesome/4.7.0/fonts/fontawesome-webfont.woff') format('woff'),
url('../font-awesome/4.7.0/fonts/fontawesome-webfont.ttf') format('truetype'),
url('../font-awesome/4.7.0/fonts/fontawesome-webfont.svg#fontawesomeregular') format('svg');
font-weight: normal;
font-style: normal;
}