Added: Font Awesome in netdna.bootstrapcdn.com (#131)
This commit is contained in:
parent
05eb20a82e
commit
4551dcc79f
|
@ -789,7 +789,7 @@ var mappings = {
|
|||
'{version}/css/bootstrap.min.': resources.bootstrapCSS
|
||||
},
|
||||
'/font-awesome/': {
|
||||
'{version}/css/font-awesome.css': resources.fontawesome
|
||||
'{version}/css/font-awesome.': resources.fontawesome
|
||||
}
|
||||
},
|
||||
// Font Awesome CDN
|
||||
|
|
|
@ -108,6 +108,14 @@ shorthands.specialFiles = function (channelHost, channelPath, searchString) {
|
|||
'path': 'resources/object-assign/4.1.1/object-assign.min.jsm',
|
||||
'bundle': ''
|
||||
};
|
||||
} 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
|
||||
return {
|
||||
'source': channelHost,
|
||||
'versionRequested': '4.7.0',
|
||||
'path': 'resources/fontawesome/4.7.0/css/font-awesome.min.css',
|
||||
'bundle': ''
|
||||
};
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
|
|
|
@ -30,6 +30,7 @@
|
|||
<li>Added: clipboard.js in cdn.jsdelivr.net (<a href="https://codeberg.org/nobody/LocalCDN/issues/128">#128</a>)</li>
|
||||
<li>Improved: Handling of single version number (<a href="https://codeberg.org/nobody/LocalCDN/issues/129">#129</a>)</li>
|
||||
<li>Added: Font Awesome in cdn.jsdelivr.net (<a href="https://codeberg.org/nobody/LocalCDN/issues/130">#130</a>)</li>
|
||||
<li>Added: Font Awesome in netdna.bootstrapcdn.com (<a href="https://codeberg.org/nobody/LocalCDN/issues/131">#131</a>)</li>
|
||||
</ul>
|
||||
<div id="generator-section">
|
||||
<div class="topic-label">
|
||||
|
|
Loading…
Reference in New Issue