Permalink
Browse files

jQuery.isEmptyObject: Specify no *enumerable* properties

Fixes #51
  • Loading branch information...
1 parent 0828702 commit 5edb85511d5512d421a153c1076ec195d9beee19 @kswedberg kswedberg committed Sep 3, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 entries/jQuery.isEmptyObject.xml
@@ -7,7 +7,7 @@
<desc>The object that will be checked to see if it's empty.</desc>
</argument>
</signature>
- <desc>Check to see if an object is empty (contains no properties).</desc>
+ <desc>Check to see if an object is empty (contains no enumerable properties).</desc>
<longdesc>
<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>
</longdesc>
@@ -19,4 +19,4 @@
</example>
<category slug="utilities"/>
<category slug="version/1.4"/>
-</entry>
+</entry>

0 comments on commit 5edb855

Please sign in to comment.