},
isEmptyObject: function( obj ) {
+
+ // Fixes #7413 Check to see if obj passes isPlainObject
+ if ( !jQuery.isPlainObject( obj ) ) {
+ return false;
+ }
+
for ( var name in obj ) {
return false;
}
}
}
+ // Flatten any nested arrays
return ret.concat.apply( [], ret );
},