From d3fe506f046d54945e46abcf7668cf7105b0a684 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Fri, 29 Mar 2013 13:43:30 -0700 Subject: [PATCH] clearer js instructions on how to include plugins --- docs/docs.html | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/docs.html b/docs/docs.html index 5896f2730c..bf46cb34ca 100644 --- a/docs/docs.html +++ b/docs/docs.html @@ -77,6 +77,7 @@ title: Bootstrap Documentation

Make use of a super basic HTML template, or dive into a few examples we've started for you. We encourage folks to iterate on these examples and not simply use them as an end result.

HTML template

+

Copy and paste the HTML from below to get started with a bare bones Bootstrap document.

{% highlight html linenos %} @@ -88,7 +89,10 @@ title: Bootstrap Documentation

Hello, world!

+ + + @@ -4501,6 +4505,8 @@ For example, <section> should be wrapped as inline. + +

JavaScript plugins

@@ -4514,7 +4520,7 @@ For example, <section> should be wrapped as inline.

Individual or compiled

-

Plugins can be included individually (though some have required dependencies), or all at once. Both bootstrap.js and bootstrap.min.js contain all plugins in a single file.

+

Plugins can be included individually (though some have required dependencies), or all at once. Do attempt to include both. Both bootstrap.js and bootstrap.min.js contain all plugins in a single file.

Data attributes

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.