From ef1fc34e616a0efda482ec54247a84d589244d55 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Wed, 9 Oct 2013 19:29:25 -0700 Subject: use data-ride="carousel" in the docs & examples; fixes #11005 --- docs-assets/js/application.js | 3 --- 1 file changed, 3 deletions(-) (limited to 'docs-assets/js/application.js') diff --git a/docs-assets/js/application.js b/docs-assets/js/application.js index 76c24e5a6..44b2e12ad 100644 --- a/docs-assets/js/application.js +++ b/docs-assets/js/application.js @@ -90,9 +90,6 @@ btn.button('reset') }, 3000) }) - - // carousel demo - $('.bs-docs-carousel-example').carousel() }) }(window.jQuery) -- cgit v1.2.3 From c88cd1cd95dc4bef63697124f795fe7e60308a99 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Thu, 17 Oct 2013 11:33:04 -0700 Subject: add explicit copyright header to docs CSS & JS files; fixes #11112 --- docs-assets/js/application.js | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'docs-assets/js/application.js') diff --git a/docs-assets/js/application.js b/docs-assets/js/application.js index 44b2e12ad..7348d2a78 100644 --- a/docs-assets/js/application.js +++ b/docs-assets/js/application.js @@ -1,6 +1,13 @@ // NOTICE!! DO NOT USE ANY OF THIS JAVASCRIPT // IT'S ALL JUST JUNK FOR OUR DOCS! // ++++++++++++++++++++++++++++++++++++++++++ +/*! + * Copyright 2013 Twitter, Inc. + * This work is licensed under the Creative Commons Attribution 3.0 Unported License. + * You should have received a copy of this license along with this work. + * If not, visit http://creativecommons.org/licenses/by/3.0/ . + */ + !function ($) { -- cgit v1.2.3 From 1f33dc8033b2b8245df98a79ebe8800c6c0b992e Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Thu, 17 Oct 2013 14:11:40 -0700 Subject: even shorter banner; remove space between slash and period --- docs-assets/js/application.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'docs-assets/js/application.js') diff --git a/docs-assets/js/application.js b/docs-assets/js/application.js index 7348d2a78..72d4cd16b 100644 --- a/docs-assets/js/application.js +++ b/docs-assets/js/application.js @@ -1,11 +1,12 @@ // NOTICE!! DO NOT USE ANY OF THIS JAVASCRIPT // IT'S ALL JUST JUNK FOR OUR DOCS! // ++++++++++++++++++++++++++++++++++++++++++ + /*! * Copyright 2013 Twitter, Inc. - * This work is licensed under the Creative Commons Attribution 3.0 Unported License. - * You should have received a copy of this license along with this work. - * If not, visit http://creativecommons.org/licenses/by/3.0/ . + * + * Licensed under the Creative Commons Attribution 3.0 Unported License. For + * details, see http://creativecommons.org/licenses/by/3.0/. */ -- cgit v1.2.3 From 630fd1cff61dff336d0e91790a54d0aeb6eba5f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zlatan=20Vasovi=C4=87?= Date: Tue, 26 Nov 2013 08:43:26 +0100 Subject: Remove redundant 'window.' --- docs-assets/js/application.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs-assets/js/application.js') diff --git a/docs-assets/js/application.js b/docs-assets/js/application.js index 72d4cd16b..f5c0556dc 100644 --- a/docs-assets/js/application.js +++ b/docs-assets/js/application.js @@ -100,4 +100,4 @@ }) }) -}(window.jQuery) +}(jQuery) -- cgit v1.2.3 From 2fc2fe75bdfaa8c22929594d4846dfad6aab71c7 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Wed, 18 Sep 2013 21:37:55 +0300 Subject: Lint docs-assets/js/application.js and docs-assets/js/customizer.js. --- docs-assets/js/application.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs-assets/js/application.js') diff --git a/docs-assets/js/application.js b/docs-assets/js/application.js index f5c0556dc..1d95de879 100644 --- a/docs-assets/js/application.js +++ b/docs-assets/js/application.js @@ -12,7 +12,7 @@ !function ($) { - $(function(){ + $(function () { // IE10 viewport hack for Surface/desktop Windows 8 bug // @@ -98,6 +98,6 @@ btn.button('reset') }, 3000) }) -}) + }) }(jQuery) -- cgit v1.2.3 From eca8ff380388c1187bc2c86e0ae7fa80aa33111e Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Wed, 18 Sep 2013 19:50:02 +0300 Subject: Use single quotes consistently. --- docs-assets/js/application.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'docs-assets/js/application.js') diff --git a/docs-assets/js/application.js b/docs-assets/js/application.js index 1d95de879..ace8bddfc 100644 --- a/docs-assets/js/application.js +++ b/docs-assets/js/application.js @@ -18,13 +18,13 @@ // // See Getting Started docs for more information if (navigator.userAgent.match(/IEMobile\/10\.0/)) { - var msViewportStyle = document.createElement("style"); + var msViewportStyle = document.createElement('style'); msViewportStyle.appendChild( document.createTextNode( - "@-ms-viewport{width:auto!important}" + '@-ms-viewport{width:auto!important}' ) ); - document.getElementsByTagName("head")[0]. + document.getElementsByTagName('head')[0]. appendChild(msViewportStyle); } @@ -73,20 +73,20 @@ // tooltip demo $('.tooltip-demo').tooltip({ - selector: "[data-toggle=tooltip]", - container: "body" + 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" + selector: 'a[data-toggle=tooltip]', + container: '.bs-docs-navbar .nav' }) // popover demo - $("[data-toggle=popover]") + $('[data-toggle=popover]') .popover() // button state demo -- cgit v1.2.3 From ae0d48057e7527640209aae0d60e484aa7552014 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Sun, 8 Dec 2013 17:42:59 -0800 Subject: fix #11787: document stateful button JS --- docs-assets/js/application.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs-assets/js/application.js') diff --git a/docs-assets/js/application.js b/docs-assets/js/application.js index ace8bddfc..3fd599eb7 100644 --- a/docs-assets/js/application.js +++ b/docs-assets/js/application.js @@ -90,7 +90,7 @@ .popover() // button state demo - $('#fat-btn') + $('#loading-example-btn') .click(function () { var btn = $(this) btn.button('loading') -- cgit v1.2.3