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,
|
'resources/backbone.js/1.2.3/backbone-min.jsm': true,
|
||||||
|
|
||||||
// Bootstrap.js
|
// Bootstrap.js
|
||||||
|
'resources/bootstrap.js/4.3.1/bootstrap.min.jsm': true,
|
||||||
'resources/bootstrap.js/4.4.1/bootstrap.min.jsm': true,
|
'resources/bootstrap.js/4.4.1/bootstrap.min.jsm': true,
|
||||||
|
|
||||||
// Bootstrap.css
|
// Bootstrap.css
|
||||||
|
'resources/bootstrap.css/4.3.1/bootstrap.min.cssm': true,
|
||||||
'resources/bootstrap.css/4.4.1/bootstrap.min.cssm': true,
|
'resources/bootstrap.css/4.4.1/bootstrap.min.cssm': true,
|
||||||
|
|
||||||
// Dojo
|
// Dojo
|
||||||
|
|
|
@ -290,11 +290,11 @@ var mappings = {
|
||||||
'webfont/{version}/webfontloader.': resources.webfont
|
'webfont/{version}/webfontloader.': resources.webfont
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// BootstrapCDN
|
// StackPath BootstrapCDN
|
||||||
'stackpath.bootstrapcdn.com': {
|
'stackpath.bootstrapcdn.com': {
|
||||||
'/bootstrap/': {
|
'/bootstrap/': {
|
||||||
'{version}/js/bootstrap.min.': resources.bootstrapJS,
|
'{version}/js/bootstrap.min.js': resources.bootstrapJS,
|
||||||
'{version}/css/bootstrap.min.': resources.bootstrapCSS
|
'{version}/css/bootstrap.min.css': resources.bootstrapCSS
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -37,7 +37,7 @@ var resources = {
|
||||||
// Bootstrap.css
|
// Bootstrap.css
|
||||||
'bootstrapCSS': {
|
'bootstrapCSS': {
|
||||||
'path': 'resources/bootstrap.css/{version}/bootstrap.min.cssm',
|
'path': 'resources/bootstrap.css/{version}/bootstrap.min.cssm',
|
||||||
'type': 'application/stylesheet'
|
'type': 'text/css'
|
||||||
},
|
},
|
||||||
// Dojo
|
// Dojo
|
||||||
'dojo': {
|
'dojo': {
|
||||||
|
|
|
@ -174,6 +174,8 @@ helpers.determineCdnName = function (domainName) {
|
||||||
return 'Geekzu Public Service [Mirror]';
|
return 'Geekzu Public Service [Mirror]';
|
||||||
case 'ajax.proxy.ustclug.org':
|
case 'ajax.proxy.ustclug.org':
|
||||||
return 'USTC Linux User Group [Mirror]';
|
return 'USTC Linux User Group [Mirror]';
|
||||||
|
case 'stackpath.bootstrapcdn.com':
|
||||||
|
return 'StackPath BootstrapCDN';
|
||||||
default:
|
default:
|
||||||
return 'Unknown';
|
return 'Unknown';
|
||||||
}
|
}
|
||||||
|
@ -211,6 +213,10 @@ helpers.determineResourceName = function (filename) {
|
||||||
return 'Underscore.js';
|
return 'Underscore.js';
|
||||||
case 'webfont.jsm':
|
case 'webfont.jsm':
|
||||||
return 'Web Font Loader';
|
return 'Web Font Loader';
|
||||||
|
case 'bootstrap.min.cssm':
|
||||||
|
return 'Bootstrap CSS';
|
||||||
|
case 'bootstrap.min.jsm':
|
||||||
|
return 'Bootstrap JS';
|
||||||
default:
|
default:
|
||||||
return 'Unknown';
|
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