1
0
mirror of https://codeberg.org/nobody/LocalCDN.git synced 2024-12-23 00:25:15 +01:00

Added Twitter Bootstrap JS and CSS v4.5.0 (#77)

This commit is contained in:
nobody42 2020-05-16 17:36:49 +02:00
parent 636444cd76
commit 4bcc91507b
No known key found for this signature in database
GPG Key ID: AB5145CF05BFE119
6 changed files with 21 additions and 0 deletions

View File

@ -320,6 +320,8 @@ var files = {
// Twitter Bootstrap
'resources/twitter-bootstrap/3.4.1/js/bootstrap.min.jsm': true,
'resources/twitter-bootstrap/3.4.1/css/bootstrap.min.css': true,
'resources/twitter-bootstrap/4.5.0/js/bootstrap.min.jsm': true,
'resources/twitter-bootstrap/4.5.0/css/bootstrap.min.css': true,
// Underscore.js
'resources/underscore.js/1.8.3/underscore-min.jsm': true,

View File

@ -158,6 +158,8 @@ var mappings = {
'toastr.js/{version}/toastr.min.css': resources.toastrCSS,
'toastr.js/{version}/toastr.min.js': resources.toastrJS,
'twitter-bootstrap/{version}/js/bootstrap.min.js': resources.twitterBootstrapJS,
'twitter-bootstrap/{version}-alpha.3/js/bootstrap.min.js': resources.twitterBootstrapJS,
'twitter-bootstrap/{version}-alpha.3/css/bootstrap.min.css': resources.twitterBootstrapCSS,
'twitter-bootstrap/{version}/css/bootstrap.': resources.twitterBootstrapCSS,
'underscore.js/{version}/underscore.': resources.underscore,
'underscore.js/{version}/underscore-min.': resources.underscore,

View File

@ -601,6 +601,8 @@ helpers.setLastVersion = function (type, version) {
version = '2.0.4';
} else if (type.includes('/swfobject/2.')) {
version = '2.2';
} else if (type.includes('/twitter-bootstrap/4.')) {
version = '4.5.0';
} else if (type.includes('/twitter-bootstrap/3.')) {
version = '3.4.1';
} else if (type.includes('/toastr.js/2.')) {

View File

@ -23,6 +23,7 @@
New in LocalCDN:
<ul>
<li>Fixed: Encoding problem with some websites (maybe only temporary, because at the moment only 9 websites are affected)</li>
<li>Added: Twitter Bootstrap JS and CSS v4.5.0</li>
</ul>
</div>
<ul>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long