aboutsummaryrefslogtreecommitdiffstats
path: root/src/serialize.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/serialize.js')
-rw-r--r--src/serialize.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/serialize.js b/src/serialize.js
index 797d735aa..5b09cb614 100644
--- a/src/serialize.js
+++ b/src/serialize.js
@@ -80,25 +80,25 @@ jQuery.fn.extend({
return jQuery.param( this.serializeArray() );
},
serializeArray: function() {
- return this.map(function(){
+ return this.map(function() {
// 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();
return val == null ?
null :
jQuery.isArray( val ) ?
- jQuery.map( val, function( val ){
+ jQuery.map( val, function( val ) {
return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) };
}) :
{ name: elem.name, value: val.replace( rCRLF, "\r\n" ) };