mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-17 21:49:09 +01:00
38d6894910
jQuery.com uses Google Analytics and so sets a cookie when you visit the site. When you request jquery.js from its CDN, code.jquery.com, you take a hit from sending your previous GA cookie in the request. Google Hosted Libraries[1] and googleapis.com never set cookies. [1] https://developers.google.com/speed/libraries/devguide
35 lines
1.4 KiB
HTML
35 lines
1.4 KiB
HTML
<!-- Bootstrap core JavaScript
|
|
================================================== -->
|
|
<!-- Placed at the end of the document so the pages load faster -->
|
|
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
|
|
<script src="{{ page.base_url }}dist/js/bootstrap.js"></script>
|
|
|
|
<script src="http://platform.twitter.com/widgets.js"></script>
|
|
<script src="{{ page.base_url }}docs-assets/js/holder.js"></script>
|
|
|
|
<script src="{{ page.base_url }}docs-assets/js/application.js"></script>
|
|
|
|
{% if page.slug == "customize" %}
|
|
<script src="{{ page.base_url }}docs-assets/js/less.js"></script>
|
|
<script src="{{ page.base_url }}docs-assets/js/jszip.js"></script>
|
|
<script src="{{ page.base_url }}docs-assets/js/uglify.js"></script>
|
|
<script src="{{ page.base_url }}docs-assets/js/filesaver.js"></script>
|
|
<script src="{{ page.base_url }}docs-assets/js/raw-files.js"></script>
|
|
<script src="{{ page.base_url }}docs-assets/js/customizer.js"></script>
|
|
{% endif %}
|
|
|
|
<!-- Analytics
|
|
================================================== -->
|
|
<script>
|
|
var _gauges = _gauges || [];
|
|
(function() {
|
|
var t = document.createElement('script');
|
|
t.async = true;
|
|
t.id = 'gauges-tracker';
|
|
t.setAttribute('data-site-id', '4f0dc9fef5a1f55508000013');
|
|
t.src = '//secure.gaug.es/track.js';
|
|
var s = document.getElementsByTagName('script')[0];
|
|
s.parentNode.insertBefore(t, s);
|
|
})();
|
|
</script>
|