aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2015-12-24 18:12:17 -0700
committerChris Rebert <[email protected]>2015-12-24 18:12:17 -0700
commitd3a9fdcc0b850b56a4d0a1f662deed182dc4b783 (patch)
treed6e7368c4c46e4f74d5f631f7ea65c8da9a030f2 /docs
parent74f1d3b9b822359a16a6a06a095dfe1a4115eb96 (diff)
parent11b526e51d54ea96656a6b1a0ca54c99e50a81dd (diff)
downloadbootstrap-d3a9fdcc0b850b56a4d0a1f662deed182dc4b783.tar.xz
bootstrap-d3a9fdcc0b850b56a4d0a1f662deed182dc4b783.zip
Merge pull request #18666 from twbs/fix-18664
Include Tether via CDN in starter templates
Diffstat (limited to 'docs')
-rw-r--r--docs/getting-started/introduction.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/getting-started/introduction.md b/docs/getting-started/introduction.md
index 6e9162c89..141a7b497 100644
--- a/docs/getting-started/introduction.md
+++ b/docs/getting-started/introduction.md
@@ -24,10 +24,11 @@ Copy-paste the stylesheet `<link>` into your `<head>` before all other styleshee
<link rel="stylesheet" href="{{ site.cdn.css }}" integrity="{{ site.cdn.css_hash }}" crossorigin="anonymous">
{% endhighlight %}
-Add our JavaScript plugins and jQuery near the end of your pages, right before the closing `</body>` tag. Be sure to place jQuery first as our code depends on it.
+Add our JavaScript plugins, jQuery, and Tether near the end of your pages, right before the closing `</body>` tag. Be sure to place jQuery and Tether first, as our code depends on them.
{% highlight html %}
<script src="{{ site.cdn.jquery }}"></script>
+<script src="{{ site.cdn.tether }}"></script>
<script src="{{ site.cdn.js }}" integrity="{{ site.cdn.js_hash }}" crossorigin="anonymous"></script>
{% endhighlight %}
@@ -58,8 +59,9 @@ Put it all together and your pages should look like this:
<body>
<h1>Hello, world!</h1>
- <!-- jQuery first, then Bootstrap JS. -->
+ <!-- jQuery first, then Tether, then Bootstrap JS. -->
<script src="{{ site.cdn.jquery }}"></script>
+ <script src="{{ site.cdn.tether }}"></script>
<script src="{{ site.cdn.js }}" integrity="{{ site.cdn.js_hash }}" crossorigin="anonymous"></script>
</body>
</html>