Skip to content

Commit

Permalink
use CDN for jQuery instead of vendoring it; fixes part of #10989
Browse files Browse the repository at this point in the history
  • Loading branch information
cvrebert committed Oct 9, 2013
1 parent d72768a commit 5e65233
Show file tree
Hide file tree
Showing 12 changed files with 11 additions and 17 deletions.
2 changes: 1 addition & 1 deletion _includes/footer.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="{{ page.base_url }}docs-assets/js/jquery.js"></script>
<script src="//code.jquery.com/jquery-1.10.2.min.js"></script>
<script src="{{ page.base_url }}dist/js/bootstrap.js"></script>

<script src="http://platform.twitter.com/widgets.js"></script>
Expand Down
6 changes: 0 additions & 6 deletions docs-assets/js/jquery.js

This file was deleted.

2 changes: 1 addition & 1 deletion examples/carousel/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ <h2 class="featurette-heading">And lastly, this one. <span class="text-muted">Ch
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="../../docs-assets/js/jquery.js"></script>
<script src="//code.jquery.com/jquery-1.10.2.min.js"></script>
<script src="../../dist/js/bootstrap.min.js"></script>
<script src="../../docs-assets/js/holder.js"></script>
</body>
Expand Down
2 changes: 1 addition & 1 deletion examples/jumbotron/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ <h2>Heading</h2>
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="../../docs-assets/js/jquery.js"></script>
<script src="//code.jquery.com/jquery-1.10.2.min.js"></script>
<script src="../../dist/js/bootstrap.min.js"></script>
</body>
</html>
2 changes: 1 addition & 1 deletion examples/navbar-fixed-top/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ <h1>Navbar example</h1>
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="../../docs-assets/js/jquery.js"></script>
<script src="//code.jquery.com/jquery-1.10.2.min.js"></script>
<script src="../../dist/js/bootstrap.min.js"></script>
</body>
</html>
2 changes: 1 addition & 1 deletion examples/navbar-static-top/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ <h1>Navbar example</h1>
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="../../docs-assets/js/jquery.js"></script>
<script src="//code.jquery.com/jquery-1.10.2.min.js"></script>
<script src="../../dist/js/bootstrap.min.js"></script>
</body>
</html>
2 changes: 1 addition & 1 deletion examples/navbar/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ <h1>Navbar example</h1>
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="../../docs-assets/js/jquery.js"></script>
<script src="//code.jquery.com/jquery-1.10.2.min.js"></script>
<script src="../../dist/js/bootstrap.min.js"></script>
</body>
</html>
2 changes: 1 addition & 1 deletion examples/non-responsive/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ <h3>Non-responsive grid system</h3>
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="../../docs-assets/js/jquery.js"></script>
<script src="//code.jquery.com/jquery-1.10.2.min.js"></script>
<script src="../../dist/js/bootstrap.min.js"></script>
</body>
</html>
2 changes: 1 addition & 1 deletion examples/offcanvas/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ <h2>Heading</h2>
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="../../docs-assets/js/jquery.js"></script>
<script src="//code.jquery.com/jquery-1.10.2.min.js"></script>
<script src="../../dist/js/bootstrap.min.js"></script>
<script src="offcanvas.js"></script>
</body>
Expand Down
2 changes: 1 addition & 1 deletion examples/starter-template/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ <h1>Bootstrap starter template</h1>
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="../../docs-assets/js/jquery.js"></script>
<script src="//code.jquery.com/jquery-1.10.2.min.js"></script>
<script src="../../dist/js/bootstrap.min.js"></script>
</body>
</html>
2 changes: 1 addition & 1 deletion examples/sticky-footer-navbar/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ <h1>Sticky footer with fixed navbar</h1>
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="../../docs-assets/js/jquery.js"></script>
<script src="//code.jquery.com/jquery-1.10.2.min.js"></script>
<script src="../../dist/js/bootstrap.min.js"></script>
</body>
</html>
2 changes: 1 addition & 1 deletion examples/theme/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ <h1>Wells</h1>
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="../../docs-assets/js/jquery.js"></script>
<script src="//code.jquery.com/jquery-1.10.2.min.js"></script>
<script src="../../dist/js/bootstrap.min.js"></script>
<script src="../../docs-assets/js/holder.js"></script>
</body>
Expand Down

0 comments on commit 5e65233

Please sign in to comment.