diff options
author | Thomas Park <thomas@thomaspark.me> | 2013-10-30 16:13:42 -0400 |
---|---|---|
committer | Thomas Park <thomas@thomaspark.me> | 2013-10-30 16:13:42 -0400 |
commit | 48c64127b37be4a692a70cb7b38ed9744163582b (patch) | |
tree | dcf4b4b76612269a6b135c695861eca7e89a0cfa /bower_components/bootstrap/assets/js/application.js | |
parent | 620e501c3d804b1dc2c7d796d7ae378db5e1a040 (diff) |
3.0.0 -> 3.0.1
Diffstat (limited to 'bower_components/bootstrap/assets/js/application.js')
-rwxr-xr-x | bower_components/bootstrap/assets/js/application.js | 83 |
1 files changed, 0 insertions, 83 deletions
diff --git a/bower_components/bootstrap/assets/js/application.js b/bower_components/bootstrap/assets/js/application.js deleted file mode 100755 index 81b644b9..00000000 --- a/bower_components/bootstrap/assets/js/application.js +++ /dev/null @@ -1,83 +0,0 @@ -// NOTICE!! DO NOT USE ANY OF THIS JAVASCRIPT -// IT'S ALL JUST JUNK FOR OUR DOCS! -// ++++++++++++++++++++++++++++++++++++++++++ - -!function ($) { - - $(function(){ - - var $window = $(window) - var $body = $(document.body) - - var navHeight = $('.navbar').outerHeight(true) + 10 - - $body.scrollspy({ - target: '.bs-sidebar', - offset: navHeight - }) - - $window.on('load', function () { - $body.scrollspy('refresh') - }) - - $('.bs-docs-container [href=#]').click(function (e) { - e.preventDefault() - }) - - // back to top - setTimeout(function () { - var $sideBar = $('.bs-sidebar') - - $sideBar.affix({ - offset: { - top: function () { - var offsetTop = $sideBar.offset().top - var sideBarMargin = parseInt($sideBar.children(0).css('margin-top'), 10) - var navOuterHeight = $('.bs-docs-nav').height() - - return (this.top = offsetTop - navOuterHeight - sideBarMargin) - } - , bottom: function () { - return (this.bottom = $('.bs-footer').outerHeight(true)) - } - } - }) - }, 100) - - setTimeout(function () { - $('.bs-top').affix() - }, 100) - - // tooltip demo - $('.tooltip-demo').tooltip({ - selector: "[data-toggle=tooltip]", - container: "body" - }) - - $('.tooltip-test').tooltip() - $('.popover-test').popover() - - $('.bs-docs-navbar').tooltip({ - selector: "a[data-toggle=tooltip]", - container: ".bs-docs-navbar .nav" - }) - - // popover demo - $("[data-toggle=popover]") - .popover() - - // button state demo - $('#fat-btn') - .click(function () { - var btn = $(this) - btn.button('loading') - setTimeout(function () { - btn.button('reset') - }, 3000) - }) - - // carousel demo - $('.bs-docs-carousel-example').carousel() -}) - -}(window.jQuery) |