Skip to content

Commit 35200ec

Browse files
committed
fixes jquery#127 - language update for first(), last(), slice()
1 parent 1d9841c commit 35200ec

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

entries/first.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<added>1.4</added>
66
</signature>
77
<desc>Reduce the set of matched elements to the first in the set.</desc>
8-
<longdesc><p>Given a jQuery object that represents a set of DOM elements, the <code>.first()</code> method constructs a new jQuery object from the first matching element.</p>
8+
<longdesc><p>Given a jQuery object that represents a set of DOM elements, the <code>.first()</code> method constructs a new jQuery object from the first element in that set.</p>
99
<p>Consider a page with a simple list on it:</p>
1010
<pre><code>
1111
&lt;ul&gt;

entries/last.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
</signature>
77
<desc>Reduce the set of matched elements to the final one in the set.</desc>
88
<longdesc>
9-
<p>Given a jQuery object that represents a set of DOM elements, the <code>.last()</code> method constructs a new jQuery object from the last matching element.</p>
9+
<p>Given a jQuery object that represents a set of DOM elements, the <code>.last()</code> method constructs a new jQuery object from the last element in that set.</p>
1010
<p>Consider a page with a simple list on it:</p>
1111
<pre><code>
1212
&lt;ul&gt;

entries/slice.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
</signature>
1313
<desc>Reduce the set of matched elements to a subset specified by a range of indices.</desc>
1414
<longdesc>
15-
<p>Given a jQuery object that represents a set of DOM elements, the <code>.slice()</code> method constructs a new jQuery object from a subset of the matching elements. The supplied <code>start</code> index identifies the position of one of the elements in the set; if <code>end</code> is omitted, all elements after this one will be included in the result.</p>
15+
<p>Given a jQuery object that represents a set of DOM elements, the <code>.slice()</code> method constructs a new jQuery object containing a subset of the elements specified by the <code>start</code> and optional <code>end</code> arguments. The supplied <code>start</code> index identifies the position of one of the elements in the set; if <code>end</code> is omitted, all elements after this one will be included in the result.</p>
1616
<p>Consider a page with a simple list on it:</p>
1717
<pre><code>
1818
&lt;ul&gt;

0 commit comments

Comments
 (0)