X-Git-Url: http://git.roojs.org/?p=bootswatch;a=blobdiff_plain;f=bower_components%2Fbootstrap%2Fdocs-assets%2Fjs%2Fapplication.js;fp=bower_components%2Fbootstrap%2Fassets%2Fjs%2Fapplication.js;h=72d4cd16bc9a2b5695c37a9e856975cb7513e3c0;hp=81b644b97ab34afa51c8e93f38868dec99e941e8;hb=48c64127b37be4a692a70cb7b38ed9744163582b;hpb=620e501c3d804b1dc2c7d796d7ae378db5e1a040 diff --git a/bower_components/bootstrap/assets/js/application.js b/bower_components/bootstrap/docs-assets/js/application.js similarity index 73% rename from bower_components/bootstrap/assets/js/application.js rename to bower_components/bootstrap/docs-assets/js/application.js index 81b644b..72d4cd1 100755 --- a/bower_components/bootstrap/assets/js/application.js +++ b/bower_components/bootstrap/docs-assets/js/application.js @@ -2,10 +2,33 @@ // IT'S ALL JUST JUNK FOR OUR DOCS! // ++++++++++++++++++++++++++++++++++++++++++ +/*! + * Copyright 2013 Twitter, Inc. + * + * Licensed under the Creative Commons Attribution 3.0 Unported License. For + * details, see http://creativecommons.org/licenses/by/3.0/. + */ + + !function ($) { $(function(){ + // IE10 viewport hack for Surface/desktop Windows 8 bug + // + // See Getting Started docs for more information + if (navigator.userAgent.match(/IEMobile\/10\.0/)) { + var msViewportStyle = document.createElement("style"); + msViewportStyle.appendChild( + document.createTextNode( + "@-ms-viewport{width:auto!important}" + ) + ); + document.getElementsByTagName("head")[0]. + appendChild(msViewportStyle); + } + + var $window = $(window) var $body = $(document.body) @@ -75,9 +98,6 @@ btn.button('reset') }, 3000) }) - - // carousel demo - $('.bs-docs-carousel-example').carousel() }) }(window.jQuery)