mirror of
https://codeberg.org/nobody/LocalCDN.git
synced 2025-06-05 21:49:31 +02:00
Added Material Design for Bootstrap (MDB) v4.18.0 (#77)
This commit is contained in:
@ -250,6 +250,10 @@ var files = {
|
|||||||
// lozad.js
|
// lozad.js
|
||||||
'resources/lozad.js/1.14.0/lozad.min.jsm': true,
|
'resources/lozad.js/1.14.0/lozad.min.jsm': true,
|
||||||
|
|
||||||
|
// Material Design for Bootstrap
|
||||||
|
'resources/mdbootstrap/4.18.0/js/mdb.min.jsm': true,
|
||||||
|
'resources/mdbootstrap/4.18.0/css/mdb.min.css': true,
|
||||||
|
|
||||||
// Modernizr
|
// Modernizr
|
||||||
'resources/modernizr/2.8.3/modernizr.min.jsm': true,
|
'resources/modernizr/2.8.3/modernizr.min.jsm': true,
|
||||||
|
|
||||||
|
@ -135,6 +135,8 @@ var mappings = {
|
|||||||
'js-cookie/{version}/js.cookie.min.js': resources.jscookie,
|
'js-cookie/{version}/js.cookie.min.js': resources.jscookie,
|
||||||
'lazysizes/{version}/lazysizes.min.js': resources.lazysizes,
|
'lazysizes/{version}/lazysizes.min.js': resources.lazysizes,
|
||||||
'lodash.js/{version}/lodash.': resources.lodashJS,
|
'lodash.js/{version}/lodash.': resources.lodashJS,
|
||||||
|
'mdbootstrap/{version}/js/mdb.': resources.mdbootstrapJS,
|
||||||
|
'mdbootstrap/{version}/css/mdb.': resources.mdbootstrapCSS,
|
||||||
'modernizr/{version}/modernizr.': resources.modernizr,
|
'modernizr/{version}/modernizr.': resources.modernizr,
|
||||||
'moment.js/{version}/moment.': resources.moment,
|
'moment.js/{version}/moment.': resources.moment,
|
||||||
'moment.js/{version}/moment.min.': resources.moment,
|
'moment.js/{version}/moment.min.': resources.moment,
|
||||||
|
@ -309,6 +309,15 @@ var resources = {
|
|||||||
'path': 'resources/lozad.js/{version}/lozad.min.jsm',
|
'path': 'resources/lozad.js/{version}/lozad.min.jsm',
|
||||||
'type': 'application/javascript'
|
'type': 'application/javascript'
|
||||||
},
|
},
|
||||||
|
// Material Design for Bootstrap
|
||||||
|
'mdbootstrapJS': {
|
||||||
|
'path': 'resources/mdbootstrap/{version}/js/mdb.min.jsm',
|
||||||
|
'type': 'application/javascript'
|
||||||
|
},
|
||||||
|
'mdbootstrapCSS': {
|
||||||
|
'path': 'resources/mdbootstrap/{version}/css/mdb.min.css',
|
||||||
|
'type': 'text/css'
|
||||||
|
},
|
||||||
// Modernizr
|
// Modernizr
|
||||||
'modernizr': {
|
'modernizr': {
|
||||||
'path': 'resources/modernizr/{version}/modernizr.min.jsm',
|
'path': 'resources/modernizr/{version}/modernizr.min.jsm',
|
||||||
|
@ -324,6 +324,10 @@ helpers.determineResourceName = function (filename) {
|
|||||||
return 'Lodash';
|
return 'Lodash';
|
||||||
case 'lozad.min.jsm':
|
case 'lozad.min.jsm':
|
||||||
return 'lozad.js';
|
return 'lozad.js';
|
||||||
|
case 'mdb.min.css':
|
||||||
|
return 'MDBootstrap (CSS)';
|
||||||
|
case 'mdb.min.jsm':
|
||||||
|
return 'MDBootstrap (JS)';
|
||||||
case 'modernizr.min.jsm':
|
case 'modernizr.min.jsm':
|
||||||
return 'Modernizr';
|
return 'Modernizr';
|
||||||
case 'moment.min.jsm':
|
case 'moment.min.jsm':
|
||||||
@ -563,6 +567,8 @@ helpers.setLastVersion = function (type, version) {
|
|||||||
version = '4.17.10';
|
version = '4.17.10';
|
||||||
} else if (type.includes('lozad')) {
|
} else if (type.includes('lozad')) {
|
||||||
version = '1.14.0';
|
version = '1.14.0';
|
||||||
|
} else if (type.includes('/mdbootstrap/4.')) {
|
||||||
|
version = '4.18.0';
|
||||||
} else if (type.includes('/modernizr/2.')) {
|
} else if (type.includes('/modernizr/2.')) {
|
||||||
version = '2.8.3';
|
version = '2.8.3';
|
||||||
} else if (type.includes('/moment.js/2.')) {
|
} else if (type.includes('/moment.js/2.')) {
|
||||||
|
@ -24,6 +24,7 @@
|
|||||||
<ul>
|
<ul>
|
||||||
<li>Fixed: Encoding problem with some websites (maybe only temporary, because at the moment only 9 websites are affected)</li>
|
<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>
|
<li>Added: Twitter Bootstrap JS and CSS v4.5.0</li>
|
||||||
|
<li>Added: Material Design for Bootstrap (MDB) v4.18.0</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<ul>
|
<ul>
|
||||||
|
48
resources/mdbootstrap/4.18.0/css/mdb.min.css
vendored
Normal file
48
resources/mdbootstrap/4.18.0/css/mdb.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
57
resources/mdbootstrap/4.18.0/js/mdb.min.jsm
Normal file
57
resources/mdbootstrap/4.18.0/js/mdb.min.jsm
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user