From e276f250326550b43f455d69d4676250e310cefb Mon Sep 17 00:00:00 2001
From: Igor Vaynberg <igor.vaynberg@gmail.com>
Date: Thu, 7 Jun 2012 09:54:40 -0700
Subject: [PATCH] added warnings about rotten tomatoes api key rate limit being
 exhausted

---
 index.html          | 3 +++
 select2-latest.html | 6 ++++--
 select2-master      | 2 +-
 3 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/index.html b/index.html
index bd7b5b35..12d2f6c5 100755
--- a/index.html
+++ b/index.html
@@ -378,9 +378,11 @@ $("#e2_2").select2({
               <p>
                   <input type="hidden" class="bigdrop" id="e6" style="width:600px"/>
               </p>
+               <p class="alert alert-warning">If this example does not work it is probably because the Rotten Tomatoes API key usage of 10000 requests per day has been exhausted. Please try again tomorrow.</p>
               <h3>Example Code</h3>
               <pre class="prettyprint linenums" id="code_e6"></pre>
               <p>Select2 uses jQuery's <code>$.ajax</code> function to execute the remote call by default. An alternative <code>transport</code> function can be specified in the ajax settings, or an entirely custom implementation can be built by providing a custom <code>query</code> function instead of using the <code>ajax</code> helper</p>
+
            </div>
         </article>
         <article class="row" id="infinite">
@@ -394,6 +396,7 @@ $("#e2_2").select2({
                <p>
                    <input type="hidden" class="bigdrop" id="e7" style="width:600px"/>
                </p>
+               <p class="alert alert-warning">If this example does not work it is probably because the Rotten Tomatoes API key usage of 10000 requests per day has been exhausted. Please try again tomorrow.</p>
               <h3>Example Code</h3>
               <pre class="prettyprint linenums" id="code_e7"></pre>
             </div>
diff --git a/select2-latest.html b/select2-latest.html
index 625b2343..8e00d1cf 100755
--- a/select2-latest.html
+++ b/select2-latest.html
@@ -378,7 +378,8 @@ $("#e2_2").select2({
               <p>
                   <input type="hidden" class="bigdrop" id="e6" style="width:600px"/>
               </p>
-              <h3>Example Code</h3>
+               <p class="alert alert-warning">If this example does not work it is probably because the Rotten Tomatoes API key usage of 10000 requests per day has been exhausted. Please try again tomorrow.</p>
+               <h3>Example Code</h3>
               <pre class="prettyprint linenums" id="code_e6"></pre>
               <p>Select2 uses jQuery's <code>$.ajax</code> function to execute the remote call by default. An alternative <code>transport</code> function can be specified in the ajax settings, or an entirely custom implementation can be built by providing a custom <code>query</code> function instead of using the <code>ajax</code> helper</p>
            </div>
@@ -394,7 +395,8 @@ $("#e2_2").select2({
                <p>
                    <input type="hidden" class="bigdrop" id="e7" style="width:600px"/>
                </p>
-              <h3>Example Code</h3>
+                <p class="alert alert-warning">If this example does not work it is probably because the Rotten Tomatoes API key usage of 10000 requests per day has been exhausted. Please try again tomorrow.</p>
+                <h3>Example Code</h3>
               <pre class="prettyprint linenums" id="code_e7"></pre>
             </div>
          </article>
diff --git a/select2-master b/select2-master
index 98903a46..4b451fee 160000
--- a/select2-master
+++ b/select2-master
@@ -1 +1 @@
-Subproject commit 98903a4621be8c8e2219b325caee430acb058555
+Subproject commit 4b451fee8186af903911263ff756686e62b7e801