From 38d689491033cc3a95b7ac74999f34428a837895 Mon Sep 17 00:00:00 2001 From: Ross Allen Date: Mon, 4 Nov 2013 22:11:57 -1000 Subject: Serve jQuery from cookie-free Google APIs 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 --- _includes/footer.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '_includes') diff --git a/_includes/footer.html b/_includes/footer.html index 7f9f8f103..6deb13192 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -1,7 +1,7 @@ - + -- cgit v1.2.3 From 4f5a865684db1ade9185a6b4823a8e249fd616d3 Mon Sep 17 00:00:00 2001 From: Ross Allen Date: Mon, 4 Nov 2013 22:17:05 -1000 Subject: Load Twitter widget async, prevent SPOF Twitter's widget library[1] provides an async snippet to inject the script tag later. Since widgets.js came before the local JS, if twitter.com took long to respond it would prevent subsequent synchronous script tags. [1] https://dev.twitter.com/docs/tfw-javascript --- _includes/footer.html | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to '_includes') diff --git a/_includes/footer.html b/_includes/footer.html index 6deb13192..8927c9048 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -4,7 +4,6 @@ - @@ -18,6 +17,19 @@ {% endif %} +{% comment %} + Inject Twitter widgets asynchronously. Snippet snipped from Twitter's + JS interface site: https://dev.twitter.com/docs/tfw-javascript +{% endcomment %} + + + -- cgit v1.2.3 From 18318b81b080de83567488031f13d9394ae21c16 Mon Sep 17 00:00:00 2001 From: Ross Allen Date: Tue, 5 Nov 2013 07:39:50 -1000 Subject: Add async attribute to Twitter widget script --- _includes/footer.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to '_includes') diff --git a/_includes/footer.html b/_includes/footer.html index 14f6db9a1..56518ac49 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -20,11 +20,13 @@ {% comment %} Inject Twitter widgets asynchronously. Snippet snipped from Twitter's JS interface site: https://dev.twitter.com/docs/tfw-javascript + + * "js.async=1;" added to add async attribute to the generated script tag. {% endcomment %} {% if page.slug == "customize" %} - - - - - + {% endif %} {% comment %} -- cgit v1.2.3 From 8087f95ca4ed948cd10b92836ddfce56307707da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zlatan=20Vasovi=C4=87?= Date: Sat, 7 Dec 2013 10:27:28 +0100 Subject: Load minified Bootstrap JS code --- _includes/footer.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '_includes') diff --git a/_includes/footer.html b/_includes/footer.html index 1188e10cf..095e96eb5 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -2,7 +2,7 @@ ================================================== --> - + -- cgit v1.2.3 From 775c29fef6d87dd91ebc6dba5980f3b59976b435 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sat, 7 Dec 2013 11:40:08 -0800 Subject: Fixes #11764: Add meta data to docs for description, keywords, and authors --- _includes/header.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to '_includes') diff --git a/_includes/header.html b/_includes/header.html index 41ecfc8e4..93594b4bc 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -1,8 +1,9 @@ - - + + + {% if page.title == "Bootstrap" %} -- cgit v1.2.3 From b1215d1b2ecd6cd3898af19ce43cc647e2ec854a Mon Sep 17 00:00:00 2001 From: Mark Otto <otto@github.com> Date: Sat, 7 Dec 2013 12:18:13 -0800 Subject: Fixes #11193: Add kbd element styles to indicate user input via keyboard --- _includes/nav-css.html | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to '_includes') diff --git a/_includes/nav-css.html b/_includes/nav-css.html index 543d004f3..215bf338b 100644 --- a/_includes/nav-css.html +++ b/_includes/nav-css.html @@ -37,7 +37,14 @@ <li><a href="#type-lists">Lists</a></li> </ul> </li> -<li><a href="#code">Code</a></li> +<li> + <a href="#code">Code</a> + <ul class="nav"> + <li><a href="#code-inline">Inline code</a></li> + <li><a href="#code-user-input">User input</a></li> + <li><a href="#code-block">Blocks of code</a></li> + </ul> +</li> <li> <a href="#tables">Tables</a> <ul class="nav"> -- cgit v1.2.3 From 07de53c644b315852c5f315ab91bfd6d65660d50 Mon Sep 17 00:00:00 2001 From: Mark Otto <otto@github.com> Date: Sat, 7 Dec 2013 14:09:03 -0800 Subject: Contextual list group cleanup * Adds nav link to sidebar for contextual classes * Refactors to use prefixed classes, like .list-group-item-info, instead of chained classes * Adds default and linked variations to example in docs --- _includes/nav-components.html | 1 + 1 file changed, 1 insertion(+) (limited to '_includes') diff --git a/_includes/nav-components.html b/_includes/nav-components.html index f7a705b5f..131114883 100644 --- a/_includes/nav-components.html +++ b/_includes/nav-components.html @@ -121,6 +121,7 @@ <li><a href="#list-group-basic">Basic example</a></li> <li><a href="#list-group-badges">Badges</a></li> <li><a href="#list-group-linked">Linked items</a></li> + <li><a href="#list-group-contextual-classes">Contextual classes</a></li> <li><a href="#list-group-custom-content">Custom content</a></li> </ul> </li> -- cgit v1.2.3 From 6273604601c58284f49b38ae4e52533b9689437c Mon Sep 17 00:00:00 2001 From: Mark Otto <otto@github.com> Date: Sat, 7 Dec 2013 20:52:51 -0800 Subject: Add .container-fluid variation for full-width containers and layouts /cc #10711 #9862 --- _includes/nav-css.html | 1 + 1 file changed, 1 insertion(+) (limited to '_includes') diff --git a/_includes/nav-css.html b/_includes/nav-css.html index 215bf338b..0228932dd 100644 --- a/_includes/nav-css.html +++ b/_includes/nav-css.html @@ -16,6 +16,7 @@ <li><a href="#grid-media-queries">Media queries</a></li> <li><a href="#grid-options">Grid options</a></li> <li><a href="#grid-example-basic">Ex: Stacked-to-horizonal</a></li> + <li><a href="#grid-example-fluid">Ex: Fluid container</a></li> <li><a href="#grid-example-mixed">Ex: Mobile and desktops</a></li> <li><a href="#grid-example-mixed-complete">Ex: Mobile, tablet, desktops</a></li> <li><a href="#grid-responsive-resets">Responsive column resets</a></li> -- cgit v1.2.3 From bab736c7d71f376849d5bebfac855a0a90b40504 Mon Sep 17 00:00:00 2001 From: Julian Thilo <bigj95t@gmail.com> Date: Sun, 8 Dec 2013 22:39:29 +0100 Subject: Fix typo in new author meta tag --- _includes/header.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '_includes') diff --git a/_includes/header.html b/_includes/header.html index 93594b4bc..18d7660b8 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -3,7 +3,7 @@ <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="description" content="Bootstrap, a sleek, intuitive, and powerful mobile first front-end framework for faster and easier web development."> <meta name="keywords" content="HTML, CSS, JS, JavaScript, framework, bootstrap, front-end, frontend, web development"> -<meta name="author" content="Mark Otto, Jacob Thornton, and Bootstrap contibutors"> +<meta name="author" content="Mark Otto, Jacob Thornton, and Bootstrap contributors"> <title> {% if page.title == "Bootstrap" %} -- cgit v1.2.3 From f1869771bc8b8e8a6c7a98385ec58e0bf0d2d98e Mon Sep 17 00:00:00 2001 From: Mark Otto <otto@github.com> Date: Sat, 14 Dec 2013 14:18:43 -0800 Subject: Fixes #10505: Document more of LESS vars and mixins --- _includes/nav-css.html | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to '_includes') diff --git a/_includes/nav-css.html b/_includes/nav-css.html index 0228932dd..b180bbf56 100644 --- a/_includes/nav-css.html +++ b/_includes/nav-css.html @@ -105,3 +105,11 @@ <li><a href="#responsive-utilities-tests">Test cases</a></li> </ul> </li> +<li> + <a href="#less">Using LESS</a> + <ul class="nav"> + <li><a href="#less-variables">Variables</a></li> + <li><a href="#less-mixins-vendor">Vendor mixins</a></li> + <li><a href="#less-mixins-utility">Utility mixins</a></li> + </ul> +</li> -- cgit v1.2.3 From d79431ca02683c9d1c754201260f66e5dda15614 Mon Sep 17 00:00:00 2001 From: Mark Otto <otto@github.com> Date: Sat, 14 Dec 2013 16:29:55 -0800 Subject: Document new modal sizes --- _includes/nav-javascript.html | 1 + 1 file changed, 1 insertion(+) (limited to '_includes') diff --git a/_includes/nav-javascript.html b/_includes/nav-javascript.html index e97027096..aeeafe264 100644 --- a/_includes/nav-javascript.html +++ b/_includes/nav-javascript.html @@ -13,6 +13,7 @@ <a href="#modals">Modal</a> <ul class="nav"> <li><a href="#modals-examples">Examples</a></li> + <li><a href="#modals-sizes">Sizes</a></li> <li><a href="#modals-usage">Usage</a></li> </ul> </li> -- cgit v1.2.3