Skip to content

Commit dc83917

Browse files
committed
.get() and .toArray(): Remove "DOM" from description. Fixes gh-443.
1 parent 834e550 commit dc83917

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

entries/get.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<desc>A zero-based integer indicating which element to retrieve.</desc>
1010
</argument>
1111
</signature>
12-
<desc>Retrieve one of the DOM elements matched by the jQuery object.</desc>
12+
<desc>Retrieve one of the elements matched by the jQuery object.</desc>
1313
<longdesc>
1414
<p>The <code>.get()</code> method grants us access to the DOM nodes underlying each jQuery object. Consider a simple unordered list:</p>
1515
<pre><code>
@@ -71,7 +71,7 @@ $( "*", document.body ).click(function( event ) {
7171
<signature>
7272
<added>1.0</added>
7373
</signature>
74-
<desc>Retrieve the DOM elements matched by the jQuery object.</desc>
74+
<desc>Retrieve the elements matched by the jQuery object.</desc>
7575
<longdesc>
7676
<p>Consider a simple unordered list:</p>
7777
<pre><code>

entries/toArray.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<signature>
55
<added>1.4</added>
66
</signature>
7-
<desc>Retrieve all the DOM elements contained in the jQuery set, as an array.</desc>
7+
<desc>Retrieve all the elements contained in the jQuery set, as an array.</desc>
88
<longdesc>
99
<p><code>.toArray()</code> returns all of the elements in the jQuery set:</p>
1010
<pre><code>
@@ -16,7 +16,7 @@ alert( $( "li" ).toArray() );
1616
</p>
1717
</longdesc>
1818
<example>
19-
<desc>Selects all divs in the document and returns the DOM Elements as an Array, then uses the built-in reverse-method to reverse that array.</desc>
19+
<desc>Select all divs in the document and return the DOM Elements as an Array; then use the built-in reverse() method to reverse that array.</desc>
2020
<code><![CDATA[
2121
function disp( divs ) {
2222
var a = [];

0 commit comments

Comments
 (0)