mirror of
https://codeberg.org/nobody/LocalCDN.git
synced 2024-12-26 10:02:25 +01:00
Merge branch 'Bootstrap' into 'master'
Bootstrap See merge request nobody42/localcdn!1
This commit is contained in:
commit
4c4ffc7b77
@ -65,6 +65,14 @@ var files = {
|
||||
'resources/backbone.js/1.2.1/backbone-min.jsm': true,
|
||||
'resources/backbone.js/1.2.2/backbone-min.jsm': true,
|
||||
'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
|
||||
'resources/dojo/1.4.1/dojo/dojo.jsm': true,
|
||||
|
@ -289,6 +289,13 @@ var mappings = {
|
||||
'underscore.js/{version}/underscore-min.': resources.underscore,
|
||||
'webfont/{version}/webfontloader.': resources.webfont
|
||||
}
|
||||
},
|
||||
// StackPath BootstrapCDN
|
||||
'stackpath.bootstrapcdn.com': {
|
||||
'/bootstrap/': {
|
||||
'{version}/js/bootstrap.min.js': resources.bootstrapJS,
|
||||
'{version}/css/bootstrap.min.css': resources.bootstrapCSS
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -29,6 +29,16 @@ var resources = {
|
||||
'path': 'resources/backbone.js/{version}/backbone-min.jsm',
|
||||
'type': 'application/javascript'
|
||||
},
|
||||
// Bootstrap.js
|
||||
'bootstrapJS': {
|
||||
'path': 'resources/bootstrap.js/{version}/bootstrap.min.jsm',
|
||||
'type': 'application/javascript'
|
||||
},
|
||||
// Bootstrap.css
|
||||
'bootstrapCSS': {
|
||||
'path': 'resources/bootstrap.css/{version}/bootstrap.min.cssm',
|
||||
'type': 'text/css'
|
||||
},
|
||||
// Dojo
|
||||
'dojo': {
|
||||
'path': 'resources/dojo/{version}/dojo/dojo.jsm',
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"manifest_version": 2,
|
||||
"name": "LocalCDN (fork from Decentraleyes)",
|
||||
"version": "2.0.15",
|
||||
"version": "2.0.16",
|
||||
|
||||
"author": "nobody",
|
||||
|
||||
|
@ -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';
|
||||
}
|
||||
|
7
resources/bootstrap.css/4.3.1/bootstrap.min.css
vendored
Normal file
7
resources/bootstrap.css/4.3.1/bootstrap.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
7
resources/bootstrap.css/4.4.1/bootstrap.min.cssm
Normal file
7
resources/bootstrap.css/4.4.1/bootstrap.min.cssm
Normal file
File diff suppressed because one or more lines are too long
7
resources/bootstrap.js/4.3.1/bootstrap.min.jsm
Normal file
7
resources/bootstrap.js/4.3.1/bootstrap.min.jsm
Normal file
File diff suppressed because one or more lines are too long
7
resources/bootstrap.js/4.4.1/bootstrap.min.jsm
Normal file
7
resources/bootstrap.js/4.4.1/bootstrap.min.jsm
Normal file
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user