mirror of
https://codeberg.org/nobody/LocalCDN.git
synced 2025-06-05 21:49:31 +02:00
Added Swiper JS+CSS v4.5.1 and v5.4.2 (#22)
This commit is contained in:
@@ -335,6 +335,12 @@ var files = {
|
|||||||
// SWFObject
|
// SWFObject
|
||||||
'resources/swfobject/2.2/swfobject.jsm': true,
|
'resources/swfobject/2.2/swfobject.jsm': true,
|
||||||
|
|
||||||
|
// Swiper
|
||||||
|
'resources/swiper/4.5.1/css/swiper.min.css': true,
|
||||||
|
'resources/swiper/4.5.1/js/swiper.min.jsm': true,
|
||||||
|
'resources/swiper/5.4.2/css/swiper.min.css': true,
|
||||||
|
'resources/swiper/5.4.2/js/swiper.min.jsm': true,
|
||||||
|
|
||||||
// Tether JS
|
// Tether JS
|
||||||
'resources/tether/1.4.7/js/tether.min.jsm': true,
|
'resources/tether/1.4.7/js/tether.min.jsm': true,
|
||||||
|
|
||||||
|
@@ -170,6 +170,8 @@ var mappings = {
|
|||||||
'spin.js/{version}/spin.min.js': resources.spinJS,
|
'spin.js/{version}/spin.min.js': resources.spinJS,
|
||||||
'socket.io/{version}/socket.io.': resources.socketIO,
|
'socket.io/{version}/socket.io.': resources.socketIO,
|
||||||
'swfobject/{version}/swfobject.': resources.swfobject,
|
'swfobject/{version}/swfobject.': resources.swfobject,
|
||||||
|
'Swiper/{version}/css/swiper.': resources.swiperCSS,
|
||||||
|
'Swiper/{version}/js/swiper.': resources.swiperJS,
|
||||||
'tether/{version}/js/tether.': resources.tetherJS,
|
'tether/{version}/js/tether.': resources.tetherJS,
|
||||||
'toastr.js/{version}/toastr.min.css': resources.toastrCSS,
|
'toastr.js/{version}/toastr.min.css': resources.toastrCSS,
|
||||||
'toastr.js/{version}/toastr.min.js': resources.toastrJS,
|
'toastr.js/{version}/toastr.min.js': resources.toastrJS,
|
||||||
|
@@ -466,6 +466,15 @@ var resources = {
|
|||||||
'path': 'resources/swfobject/{version}/swfobject.jsm',
|
'path': 'resources/swfobject/{version}/swfobject.jsm',
|
||||||
'type': 'application/javascript'
|
'type': 'application/javascript'
|
||||||
},
|
},
|
||||||
|
// Swiper
|
||||||
|
'swiperJS': {
|
||||||
|
'path': 'resources/swiper/{version}/js/swiper.min.jsm',
|
||||||
|
'type': 'application/javascript'
|
||||||
|
},
|
||||||
|
'swiperCSS': {
|
||||||
|
'path': 'resources/swiper/{version}/css/swiper.min.css',
|
||||||
|
'type': 'text/css'
|
||||||
|
},
|
||||||
// Tether JS
|
// Tether JS
|
||||||
'tetherJS': {
|
'tetherJS': {
|
||||||
'path': 'resources/tether/{version}/js/tether.min.jsm',
|
'path': 'resources/tether/{version}/js/tether.min.jsm',
|
||||||
|
@@ -398,6 +398,10 @@ helpers.determineResourceName = function (filename) {
|
|||||||
return 'Store.js';
|
return 'Store.js';
|
||||||
case 'swfobject.jsm':
|
case 'swfobject.jsm':
|
||||||
return 'SWFObject';
|
return 'SWFObject';
|
||||||
|
case 'swiper.min.css':
|
||||||
|
return 'Swiper CSS';
|
||||||
|
case 'swiper.min.js':
|
||||||
|
return 'Swiper JS';
|
||||||
case 'tether.min.jsm':
|
case 'tether.min.jsm':
|
||||||
return 'Tether JS';
|
return 'Tether JS';
|
||||||
case 'toastr.min.css':
|
case 'toastr.min.css':
|
||||||
@@ -648,6 +652,10 @@ helpers.setLastVersion = function (type, version) {
|
|||||||
return '2.0.4';
|
return '2.0.4';
|
||||||
} else if (type.includes('/swfobject/2.')) {
|
} else if (type.includes('/swfobject/2.')) {
|
||||||
return '2.2';
|
return '2.2';
|
||||||
|
} else if (type.includes('/swiper/4.')) {
|
||||||
|
return '4.5.1';
|
||||||
|
} else if (type.includes('/swiper/5.')) {
|
||||||
|
return '5.4.2';
|
||||||
} else if (type.includes('/tether/1.')) {
|
} else if (type.includes('/tether/1.')) {
|
||||||
return '1.4.7';
|
return '1.4.7';
|
||||||
} else if (type.includes('/twitter-bootstrap/4.')) {
|
} else if (type.includes('/twitter-bootstrap/4.')) {
|
||||||
|
@@ -25,6 +25,7 @@
|
|||||||
<ul>
|
<ul>
|
||||||
<li>Fixed: Norwegian language package in Chromium (<a href="https://codeberg.org/nobody/LocalCDN/issues/21">#21</a>)</li>
|
<li>Fixed: Norwegian language package in Chromium (<a href="https://codeberg.org/nobody/LocalCDN/issues/21">#21</a>)</li>
|
||||||
<li>Added: Algoliasearch to cdnjs.cloudflare.com (<a href="https://codeberg.org/nobody/LocalCDN/issues/22">#22</a>)</li>
|
<li>Added: Algoliasearch to cdnjs.cloudflare.com (<a href="https://codeberg.org/nobody/LocalCDN/issues/22">#22</a>)</li>
|
||||||
|
<li>Added: Swiper JS+CSS v4.5.1 and v5.4.2 (<a href="https://codeberg.org/nobody/LocalCDN/issues/22">#22</a>)</li>
|
||||||
</ul>
|
</ul>
|
||||||
<div class="topic-label">
|
<div class="topic-label">
|
||||||
Please update your uBlock/uMatrix rules
|
Please update your uBlock/uMatrix rules
|
||||||
|
12
resources/swiper/4.5.1/css/swiper.min.css
vendored
Normal file
12
resources/swiper/4.5.1/css/swiper.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
13
resources/swiper/4.5.1/js/swiper.min.jsm
Normal file
13
resources/swiper/4.5.1/js/swiper.min.jsm
Normal file
File diff suppressed because one or more lines are too long
13
resources/swiper/5.4.2/css/swiper.min.css
vendored
Normal file
13
resources/swiper/5.4.2/css/swiper.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
14
resources/swiper/5.4.2/js/swiper.min.jsm
Normal file
14
resources/swiper/5.4.2/js/swiper.min.jsm
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user