]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
jquery links
authorMark Otto <otto@github.com>
Thu, 10 Jul 2014 17:23:15 +0000 (10:23 -0700)
committerMark Otto <otto@github.com>
Thu, 10 Jul 2014 17:23:15 +0000 (10:23 -0700)
_config.yml
docs/_includes/getting-started/download.md

index 72839147d58793e0d8ce874f0acae3bf93354f83..c174f4a7e510924f440375a1dc473399101d6471 100644 (file)
@@ -31,3 +31,4 @@ cdn:
   css:            //maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css
   css_theme:      //maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap-theme.min.css
   js:             //maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js
+  jquery:         //code.jquery.com/jquery-2.1.1.min.js
index e4adc106484afa568706887b1ef3c0dc70eabd1d..b719026ac4a9175c5352ab2e1194b8d76e1d31b7 100644 (file)
@@ -8,10 +8,10 @@ Quickly add Bootstrap to your project via the [Bootstrap CDN](http://bootstrapcd
 <link rel="stylesheet" href="{{ site.cdn.css }}">
 {% endhighlight %}
 
-Then, add the Bootstrap JavaScript—and jQuery—near the end of your project. It's best placed right before the closing `</body>` tag. Be sure to place jQuery first.
+Then, add the Bootstrap JavaScript—and jQuery—near the end of your pages. It's best placed right before the closing `</body>` tag. Be sure to place jQuery first as our code depends on it.
 
 {% highlight html %}
-<script src="">jQuery</script>
+<script src="{{ site.cdn.jquery }}"></script>
 <script src="{{ site.cdn.js }}"></script>
 {% endhighlight %}
 
@@ -34,7 +34,7 @@ Put it all together and your pages should look like this:
   <body>
     <h1>Hello, world!</h1>
 
-    <script src="">jQuery</script>
+    <script src="{{ site.cdn.jquery }}"></script>
     <script src="{{ site.cdn.js }}"></script>
   </body>
 </html>