N°5621 Move JQuery 3.5.1 to NPM

This commit is contained in:
Pierre Goiffon
2024-02-16 16:08:17 +01:00
parent fada9793f0
commit 39d1ddeab8
40 changed files with 361 additions and 381 deletions

View File

@@ -105,14 +105,16 @@ jQuery.fn.extend( {
// Can add propHook for "elements" to filter or add form elements
var elements = jQuery.prop( this, "elements" );
return elements ? jQuery.makeArray( elements ) : this;
} ).filter( function() {
} )
.filter( function() {
var type = this.type;
// Use .is( ":disabled" ) so that fieldset[disabled] works
return this.name && !jQuery( this ).is( ":disabled" ) &&
rsubmittable.test( this.nodeName ) && !rsubmitterTypes.test( type ) &&
( this.checked || !rcheckableType.test( type ) );
} ).map( function( _i, elem ) {
} )
.map( function( _i, elem ) {
var val = jQuery( this ).val();
if ( val == null ) {