]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fix typos and clarify wording in carousel docs 2250/head
authormeleyal <william.meleyal@gmail.com>
Sat, 25 Feb 2012 00:25:31 +0000 (01:25 +0100)
committermeleyal <william.meleyal@gmail.com>
Sat, 25 Feb 2012 00:25:31 +0000 (01:25 +0100)
docs/javascript.html
docs/templates/pages/javascript.mustache

index 612724c798bf23b3326731de243973ee2ef2b509..3ec360acf108f6ec51b690437880f1d14e1e40c6 100644 (file)
@@ -1302,7 +1302,7 @@ $('#myCollapsible').on('hidden', function () {
             </tbody>
           </table>
           <h3>Markup</h3>
-          <p>Data attributes are integral to the carousel plugin. Check out the example code below for the various markup types.</p>
+          <p>Data attributes are used for the previous and next conrols. Check out the example markup below.</p>
 <pre class="prettyprint linenums">
 &lt;div id="myCarousel" class="carousel"&gt;
   &lt;!-- Carousel items --&gt;
@@ -1335,7 +1335,7 @@ $('.myCarousel').carousel({
           <h4>.carousel('next')</h4>
           <p>Cycles to the next item.</p>
           <h3>Events</h3>
-          <p>Bootstrap's modal class exposes a few events for hooking into modal functionality.</p>
+          <p>Bootstrap's carousel class exposes two events for hooking into carousel functionality.</p>
           <table class="table table-bordered table-striped">
             <thead>
              <tr>
index ac989f3ed7cab83812914fecf15d9cc57651b5bf..bd0e286d537ba001c0312ed117ee13fdb8f5d6d1 100644 (file)
@@ -1226,7 +1226,7 @@ $('#myCollapsible').on('hidden', function () {
             </tbody>
           </table>
           <h3>{{_i}}Markup{{/i}}</h3>
-          <p>{{_i}}Data attributes are integral to the carousel plugin. Check out the example code below for the various markup types.{{/i}}</p>
+          <p>{{_i}}Data attributes are used for the previous and next conrols. Check out the example markup below.{{/i}}</p>
 <pre class="prettyprint linenums">
 &lt;div id="myCarousel" class="carousel"&gt;
   &lt;!-- {{_i}}Carousel items{{/i}} --&gt;
@@ -1259,7 +1259,7 @@ $('.myCarousel').carousel({
           <h4>.carousel('next')</h4>
           <p>{{_i}}Cycles to the next item.{{/i}}</p>
           <h3>{{_i}}Events{{/i}}</h3>
-          <p>{{_i}}Bootstrap's modal class exposes a few events for hooking into modal functionality.{{/i}}</p>
+          <p>{{_i}}Bootstrap's carousel class exposes two events for hooking into carousel functionality.{{/i}}</p>
           <table class="table table-bordered table-striped">
             <thead>
              <tr>