aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-12-08 00:17:17 -0800
committerMark Otto <[email protected]>2013-12-08 00:17:17 -0800
commit475bbd4d3855231c47ece7ccd27c72030efb7d08 (patch)
tree62f02cd246b3e7c542c1cb98b4a30810290928c4
parentd70f4e895cfbe8915920d149bdcde8a14c9dab88 (diff)
parentadf8209b9c5234740511839a95557e3fe8c59651 (diff)
downloadbootstrap-475bbd4d3855231c47ece7ccd27c72030efb7d08.tar.xz
bootstrap-475bbd4d3855231c47ece7ccd27c72030efb7d08.zip
Merge branch 'master' of github.com:twbs/bootstrap
-rw-r--r--javascript.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/javascript.html b/javascript.html
index f0d50fcdd..71bbf6823 100644
--- a/javascript.html
+++ b/javascript.html
@@ -30,7 +30,7 @@ base_url: "../"
<h3 id="js-data-attrs">Data attributes</h3>
<p>You can use all Bootstrap plugins purely through the markup API without writing a single line of JavaScript. This is Bootstrap's first-class API and should be your first consideration when using a plugin.</p>
- <p>That said, in some situations it may be desirable to turn this functionality off. Therefore, we also provide the ability to disable the data attribute API by unbinding all events on the document namespaced with <code>data-api</code>. This looks like this:
+ <p>That said, in some situations it may be desirable to turn this functionality off. Therefore, we also provide the ability to disable the data attribute API by unbinding all events on the document namespaced with <code>data-api</code>. This looks like this:</p>
{% highlight js %}
$(document).off('.data-api')
{% endhighlight %}
@@ -50,7 +50,7 @@ $('.btn.danger').button('toggle').addClass('fat')
{% highlight js %}
$('#myModal').modal() // initialized with defaults
$('#myModal').modal({ keyboard: false }) // initialized with no keyboard
-$('#myModal').modal('show') // initializes and invokes show immediately</p>
+$('#myModal').modal('show') // initializes and invokes show immediately
{% endhighlight %}
<p>Each plugin also exposes its raw constructor on a <code>Constructor</code> property: <code>$.fn.popover.Constructor</code>. If you'd like to get a particular plugin instance, retrieve it directly from an element: <code>$('[rel=popover]').data('popover')</code>.</p>
@@ -415,7 +415,7 @@ $('#myModal').on('hidden.bs.modal', function (e) {
</nav> <!-- /navbar-example -->
</div> <!-- /example -->
- <h3>Within tabs</h3>
+ <h3>Within pills</h3>
<div class="bs-example">
<ul class="nav nav-pills">
<li class="active"><a href="#">Regular link</a></li>
@@ -449,7 +449,7 @@ $('#myModal').on('hidden.bs.modal', function (e) {
<li role="presentation"><a role="menuitem" tabindex="-1" href="http://twitter.com/fat">Separated link</a></li>
</ul>
</li>
- </ul> <!-- /tabs -->
+ </ul> <!-- /pills -->
</div> <!-- /example -->