mirror of
https://github.com/jquery/jquery.git
synced 2026-04-20 03:01:22 -04:00
Merge branch 'bug_7413' of https://github.com/rwldrn/jquery into rwldrn-bug_7413
This commit is contained in:
@@ -532,6 +532,12 @@ jQuery.extend({
|
||||
},
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user