Skip to content

Commit 5edb855

Browse files
committed
jQuery.isEmptyObject: Specify no *enumerable* properties
Fixes jquery#51
1 parent 0828702 commit 5edb855

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

entries/jQuery.isEmptyObject.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<desc>The object that will be checked to see if it's empty.</desc>
88
</argument>
99
</signature>
10-
<desc>Check to see if an object is empty (contains no properties).</desc>
10+
<desc>Check to see if an object is empty (contains no enumerable properties).</desc>
1111
<longdesc>
1212
<p>As of jQuery 1.4 this method checks both properties on the object itself and properties inherited from prototypes (in that it doesn't use hasOwnProperty). The argument should always be a plain JavaScript <code>Object</code> as other types of object (DOM elements, primitive strings/numbers, host objects) may not give consistent results across browsers. To determine if an object is a plain JavaScript object, use <a href="http://api.jquery.com/jQuery.isPlainObject"><code>$.isPlainObject()</code></a></p>
1313
</longdesc>
@@ -19,4 +19,4 @@
1919
</example>
2020
<category slug="utilities"/>
2121
<category slug="version/1.4"/>
22-
</entry>
22+
</entry>

0 commit comments

Comments
 (0)