Added BootstrapCSS & BootstrapJS (v4.3.1 and 4.4.1)
This commit is contained in:
parent
f0b5081836
commit
4800114a32
|
@ -67,9 +67,11 @@ var files = {
|
|||
'resources/backbone.js/1.2.3/backbone-min.jsm': true,
|
||||
|
||||
// Bootstrap.js
|
||||
'resources/bootstrap.js/4.3.1/bootstrap.min.jsm': true,
|
||||
'resources/bootstrap.js/4.4.1/bootstrap.min.jsm': true,
|
||||
|
||||
// Bootstrap.css
|
||||
'resources/bootstrap.css/4.3.1/bootstrap.min.cssm': true,
|
||||
'resources/bootstrap.css/4.4.1/bootstrap.min.cssm': true,
|
||||
|
||||
// Dojo
|
||||
|
|
|
@ -290,11 +290,11 @@ var mappings = {
|
|||
'webfont/{version}/webfontloader.': resources.webfont
|
||||
}
|
||||
},
|
||||
// BootstrapCDN
|
||||
// StackPath BootstrapCDN
|
||||
'stackpath.bootstrapcdn.com': {
|
||||
'/bootstrap/': {
|
||||
'{version}/js/bootstrap.min.': resources.bootstrapJS,
|
||||
'{version}/css/bootstrap.min.': resources.bootstrapCSS
|
||||
'{version}/js/bootstrap.min.js': resources.bootstrapJS,
|
||||
'{version}/css/bootstrap.min.css': resources.bootstrapCSS
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
|
@ -37,7 +37,7 @@ var resources = {
|
|||
// Bootstrap.css
|
||||
'bootstrapCSS': {
|
||||
'path': 'resources/bootstrap.css/{version}/bootstrap.min.cssm',
|
||||
'type': 'application/stylesheet'
|
||||
'type': 'text/css'
|
||||
},
|
||||
// Dojo
|
||||
'dojo': {
|
||||
|
|
|
@ -174,6 +174,8 @@ helpers.determineCdnName = function (domainName) {
|
|||
return 'Geekzu Public Service [Mirror]';
|
||||
case 'ajax.proxy.ustclug.org':
|
||||
return 'USTC Linux User Group [Mirror]';
|
||||
case 'stackpath.bootstrapcdn.com':
|
||||
return 'StackPath BootstrapCDN';
|
||||
default:
|
||||
return 'Unknown';
|
||||
}
|
||||
|
@ -211,6 +213,10 @@ helpers.determineResourceName = function (filename) {
|
|||
return 'Underscore.js';
|
||||
case 'webfont.jsm':
|
||||
return 'Web Font Loader';
|
||||
case 'bootstrap.min.cssm':
|
||||
return 'Bootstrap CSS';
|
||||
case 'bootstrap.min.jsm':
|
||||
return 'Bootstrap JS';
|
||||
default:
|
||||
return 'Unknown';
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue