From 3b5de35b5f47a5aebb9e7aa59a36ff4ff131e5ff Mon Sep 17 00:00:00 2001 From: Aurelio De Rosa Date: Wed, 26 Feb 2014 19:19:18 +0100 Subject: [PATCH 1/2] Update get.xml The `get()` method may return `undefined`. --- entries/get.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entries/get.xml b/entries/get.xml index 59457611..ae3b3270 100644 --- a/entries/get.xml +++ b/entries/get.xml @@ -11,7 +11,7 @@ Retrieve one of the elements matched by the jQuery object. -

The .get() method grants us access to the DOM nodes underlying each jQuery object. Consider a simple unordered list:

+

The .get() method grants us access to the DOM nodes underlying each jQuery object. If the value of index is out of bounds, that is less than 0, or equal to or greater than the number of elements, it returns undefined. Consider a simple unordered list:


 <ul>
   <li id="foo">foo</li>

From 92c95585df42ccc47a84205433f85f471e1e0fb7 Mon Sep 17 00:00:00 2001
From: Aurelio De Rosa 
Date: Wed, 26 Feb 2014 22:07:57 +0100
Subject: [PATCH 2/2] Update get.xml

---
 entries/get.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/entries/get.xml b/entries/get.xml
index ae3b3270..5698760d 100644
--- a/entries/get.xml
+++ b/entries/get.xml
@@ -11,7 +11,7 @@
     
     Retrieve one of the elements matched by the jQuery object.
     
-      

The .get() method grants us access to the DOM nodes underlying each jQuery object. If the value of index is out of bounds, that is less than 0, or equal to or greater than the number of elements, it returns undefined. Consider a simple unordered list:

+

The .get() method grants access to the DOM nodes underlying each jQuery object. If the value of index is out of bounds — less than 0 or equal to or greater than the number of elements — it returns undefined. Consider a simple unordered list:


 <ul>
   <li id="foo">foo</li>