1
0
mirror of https://codeberg.org/nobody/LocalCDN.git synced 2024-12-22 08:04:10 +01:00

Added jQuery Validation Plugin v1.19.1

This commit is contained in:
nobody42 2020-03-26 07:41:01 +01:00
parent b7edb5007d
commit 20be65fad5
No known key found for this signature in database
GPG Key ID: AB5145CF05BFE119
6 changed files with 18 additions and 0 deletions

View File

@ -86,6 +86,9 @@ var files = {
// jQuery UI
'resources/jqueryui/1.11.4/jquery-ui.min.jsm': true,
// jQuery Validation Plugin
'resources/jquery-validate/1.19.1/jquery.validate.min.jsm': true,
// lazysizes
'resources/lazysizes/4.1.8/lazysizes.min.jsm': true,

View File

@ -80,6 +80,7 @@ var mappings = {
'jquery/{version}/jquery.min.': resources.jQuery,
'jqueryui/{version}/jquery-ui.js': resources.jQueryUI,
'jqueryui/{version}/jquery-ui.min.js': resources.jQueryUI,
'jquery-validate/{version}/jquery.validate.min.js': resources.jqueryValidationPlugin,
'lazysizes/{version}/lazysizes.min.js': resources.lazysizes,
'modernizr/{version}/modernizr.': resources.modernizr,
'moment.js/{version}/moment.': resources.moment,

View File

@ -109,6 +109,11 @@ var resources = {
'path': 'resources/jqueryui/{version}/jquery-ui.min.jsm',
'type': 'application/javascript'
},
// jQuery Validation Plugin
'jqueryValidationPlugin': {
'path': 'resources/jquery-validate/{version}/jquery.validate.min.jsm',
'type': 'application/javascript'
},
// lazysizes
'lazysizes': {
'path': 'resources/lazysizes/{version}/lazysizes.min.jsm',

View File

@ -232,6 +232,8 @@ helpers.determineResourceName = function (filename) {
return 'jQuery';
case 'jquery-ui.min.jsm':
return 'jQuery UI';
case 'jquery.validate.min.jsm':
return 'jQuery Validation Plugin';
case 'lazysizes.min.jsm':
return 'lazysizes';
case 'lozad.min.jsm':
@ -358,6 +360,8 @@ helpers.setLastVersion = function (type, versionNumber) {
version = '3.4.1';
} else if (type.includes('/jqueryui/1.')) {
version = '1.11.4';
} else if (type.includes('/jquery-validate/1.')) {
version = '1.19.1';
} else if (type.includes('lazysizes/4.')) {
version = '4.1.8';
} else if (type.includes('lozad')) {

View File

@ -29,6 +29,7 @@
<li>Added toastr.js v2.1.4</li>
<li>Added WOW v1.1.2</li>
<li>Added lazysizes v4.1.8</li>
<li>Added jQuery Validation Plugin v1.19.1</li>
</ul>
<div class="topic-label">
Please update your uBlock/uMatrix rules

File diff suppressed because one or more lines are too long