mirror of
https://codeberg.org/nobody/LocalCDN.git
synced 2025-06-05 21:49:31 +02:00
Folder renamed: bootstrap
This commit is contained in:
@@ -218,15 +218,15 @@ var resources = {
|
|||||||
},
|
},
|
||||||
// Bootstrap
|
// Bootstrap
|
||||||
'bootstrapJS': {
|
'bootstrapJS': {
|
||||||
'path': 'resources/bootstrap/{version}/bootstrap.min.jsm',
|
'path': 'resources/twitter-bootstrap/{version}/bootstrap.min.jsm',
|
||||||
'type': 'application/javascript'
|
'type': 'application/javascript'
|
||||||
},
|
},
|
||||||
'bootstrapCSS': {
|
'bootstrapCSS': {
|
||||||
'path': 'resources/bootstrap/{version}/bootstrap.min.css',
|
'path': 'resources/twitter-bootstrap/{version}/bootstrap.min.css',
|
||||||
'type': 'text/css'
|
'type': 'text/css'
|
||||||
},
|
},
|
||||||
'bootstrapFontsOnly': {
|
'bootstrapFontsOnly': {
|
||||||
'path': 'resources/bootstrap/fonts/'
|
'path': 'resources/twitter-bootstrap/fonts/'
|
||||||
},
|
},
|
||||||
// Bootstrap Daterangepicker
|
// Bootstrap Daterangepicker
|
||||||
'bootstrapDaterangepicker': {
|
'bootstrapDaterangepicker': {
|
||||||
|
@@ -160,7 +160,7 @@ shorthands.specialFiles = function (channelHost, channelPath, searchString) {
|
|||||||
} else if (Regex.BOOTSTRAP_FONTS_ONLY.test(channelPath)) {
|
} else if (Regex.BOOTSTRAP_FONTS_ONLY.test(channelPath)) {
|
||||||
return {
|
return {
|
||||||
'source': channelHost,
|
'source': channelHost,
|
||||||
'path': 'resources/bootstrap/fonts/' + helpers.extractFilenameFromPath(channelPath),
|
'path': 'resources/twitter-bootstrap/fonts/' + helpers.extractFilenameFromPath(channelPath),
|
||||||
'bundle': 'Bootstrap (Fonts)'
|
'bundle': 'Bootstrap (Fonts)'
|
||||||
};
|
};
|
||||||
} else if (channelHost + channelPath === 'cdn.jsdelivr.net/npm/js-cookie@beta/dist/js.cookie.min.js') {
|
} else if (channelHost + channelPath === 'cdn.jsdelivr.net/npm/js-cookie@beta/dist/js.cookie.min.js') {
|
||||||
|
@@ -139,10 +139,10 @@ targets.setLastVersion = function (type, version) {
|
|||||||
return '4.4.0';
|
return '4.4.0';
|
||||||
} else if (type.startsWith('/bootbox.js/5.')) {
|
} else if (type.startsWith('/bootbox.js/5.')) {
|
||||||
return '5.5.2';
|
return '5.5.2';
|
||||||
} else if (type.startsWith('/bootstrap/3.')) {
|
} else if (type.startsWith('/twitter-bootstrap/3.')) {
|
||||||
if (helpers.compareVersion('3.3.7', version)) return '3.3.7'; // <= 3.3.7
|
if (helpers.compareVersion('3.3.7', version)) return '3.3.7'; // <= 3.3.7
|
||||||
else return '3.4.1';
|
else return '3.4.1';
|
||||||
} else if (type.startsWith('/bootstrap/4.')) {
|
} else if (type.startsWith('/twitter-bootstrap/4.')) {
|
||||||
return '4.6.0';
|
return '4.6.0';
|
||||||
} else if (type.startsWith('/bootstrap-daterangepicker/2.')) {
|
} else if (type.startsWith('/bootstrap-daterangepicker/2.')) {
|
||||||
return '2.1.27';
|
return '2.1.27';
|
||||||
|
Reference in New Issue
Block a user