Clearing event handlers on unload is no longer necessary in any version of IE. This...
[jquery.git] / src / core.js
index 07d5caf..346e52d 100644 (file)
@@ -532,12 +532,6 @@ 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;
                }
@@ -739,6 +733,7 @@ jQuery.extend({
                        }
                }
 
+               // Flatten any nested arrays
                return ret.concat.apply( [], ret );
        },