diff options
| -rw-r--r-- | _includes/header.html | 1 | ||||
| -rw-r--r-- | docs-assets/js/ie8-responsive-file-warning.js | 12 | ||||
| -rw-r--r-- | examples/carousel/index.html | 3 | ||||
| -rw-r--r-- | examples/grid/index.html | 3 | ||||
| -rw-r--r-- | examples/jumbotron-narrow/index.html | 3 | ||||
| -rw-r--r-- | examples/jumbotron/index.html | 3 | ||||
| -rw-r--r-- | examples/justified-nav/index.html | 3 | ||||
| -rw-r--r-- | examples/navbar-fixed-top/index.html | 3 | ||||
| -rw-r--r-- | examples/navbar-static-top/index.html | 3 | ||||
| -rw-r--r-- | examples/navbar/index.html | 3 | ||||
| -rw-r--r-- | examples/non-responsive/index.html | 3 | ||||
| -rw-r--r-- | examples/offcanvas/index.html | 3 | ||||
| -rw-r--r-- | examples/signin/index.html | 3 | ||||
| -rw-r--r-- | examples/starter-template/index.html | 3 | ||||
| -rw-r--r-- | examples/sticky-footer-navbar/index.html | 3 | ||||
| -rw-r--r-- | examples/sticky-footer/index.html | 3 | ||||
| -rw-r--r-- | examples/theme/index.html | 3 |
17 files changed, 58 insertions, 0 deletions
diff --git a/_includes/header.html b/_includes/header.html index 1885b58eb..41ecfc8e4 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -18,6 +18,7 @@ <!-- Documentation extras --> <link href="{{ page.base_url }}docs-assets/css/docs.css" rel="stylesheet"> <link href="{{ page.base_url }}docs-assets/css/pygments-manni.css" rel="stylesheet"> +<!--[if lt IE 9]><script src="{{ page.base_url }}docs-assets/js/ie8-responsive-file-warning.js"></script><![endif]--> <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries --> <!--[if lt IE 9]> diff --git a/docs-assets/js/ie8-responsive-file-warning.js b/docs-assets/js/ie8-responsive-file-warning.js new file mode 100644 index 000000000..f5dd74fc4 --- /dev/null +++ b/docs-assets/js/ie8-responsive-file-warning.js @@ -0,0 +1,12 @@ +// NOTICE!! DO NOT USE ANY OF THIS JAVASCRIPT +// IT'S 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/. + */ +// Intended to prevent false-positive bug reports about responsive styling supposedly not working in IE8. +if (window.location.protocol == 'file:') + alert("ERROR: Bootstrap's responsive CSS is disabled!\nSee getbootstrap.com/getting-started/#respond-file-proto for details.") diff --git a/examples/carousel/index.html b/examples/carousel/index.html index 8764b2015..a9d5d02bb 100644 --- a/examples/carousel/index.html +++ b/examples/carousel/index.html @@ -13,6 +13,9 @@ <!-- Bootstrap core CSS --> <link href="../../dist/css/bootstrap.css" rel="stylesheet"> + <!-- Just for debugging purposes. Don't actually copy this line! --> + <!--[if lt IE 9]><script src="{{ page.base_url }}docs-assets/js/ie8-responsive-file-warning.js"></script><![endif]--> + <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> diff --git a/examples/grid/index.html b/examples/grid/index.html index b058ac173..d3159e631 100644 --- a/examples/grid/index.html +++ b/examples/grid/index.html @@ -16,6 +16,9 @@ <!-- Custom styles for this template --> <link href="grid.css" rel="stylesheet"> + <!-- Just for debugging purposes. Don't actually copy this line! --> + <!--[if lt IE 9]><script src="{{ page.base_url }}docs-assets/js/ie8-responsive-file-warning.js"></script><![endif]--> + <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> diff --git a/examples/jumbotron-narrow/index.html b/examples/jumbotron-narrow/index.html index a393a1934..d0d6175f1 100644 --- a/examples/jumbotron-narrow/index.html +++ b/examples/jumbotron-narrow/index.html @@ -16,6 +16,9 @@ <!-- Custom styles for this template --> <link href="jumbotron-narrow.css" rel="stylesheet"> + <!-- Just for debugging purposes. Don't actually copy this line! --> + <!--[if lt IE 9]><script src="{{ page.base_url }}docs-assets/js/ie8-responsive-file-warning.js"></script><![endif]--> + <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> diff --git a/examples/jumbotron/index.html b/examples/jumbotron/index.html index afa88bcac..59896e662 100644 --- a/examples/jumbotron/index.html +++ b/examples/jumbotron/index.html @@ -16,6 +16,9 @@ <!-- Custom styles for this template --> <link href="jumbotron.css" rel="stylesheet"> + <!-- Just for debugging purposes. Don't actually copy this line! --> + <!--[if lt IE 9]><script src="{{ page.base_url }}docs-assets/js/ie8-responsive-file-warning.js"></script><![endif]--> + <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> diff --git a/examples/justified-nav/index.html b/examples/justified-nav/index.html index 884422f19..3b40fd324 100644 --- a/examples/justified-nav/index.html +++ b/examples/justified-nav/index.html @@ -16,6 +16,9 @@ <!-- Custom styles for this template --> <link href="justified-nav.css" rel="stylesheet"> + <!-- Just for debugging purposes. Don't actually copy this line! --> + <!--[if lt IE 9]><script src="{{ page.base_url }}docs-assets/js/ie8-responsive-file-warning.js"></script><![endif]--> + <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> diff --git a/examples/navbar-fixed-top/index.html b/examples/navbar-fixed-top/index.html index c6481ee16..6b38d7bff 100644 --- a/examples/navbar-fixed-top/index.html +++ b/examples/navbar-fixed-top/index.html @@ -16,6 +16,9 @@ <!-- Custom styles for this template --> <link href="navbar-fixed-top.css" rel="stylesheet"> + <!-- Just for debugging purposes. Don't actually copy this line! --> + <!--[if lt IE 9]><script src="{{ page.base_url }}docs-assets/js/ie8-responsive-file-warning.js"></script><![endif]--> + <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> diff --git a/examples/navbar-static-top/index.html b/examples/navbar-static-top/index.html index 6f4ac141c..a17594e0c 100644 --- a/examples/navbar-static-top/index.html +++ b/examples/navbar-static-top/index.html @@ -16,6 +16,9 @@ <!-- Custom styles for this template --> <link href="navbar-static-top.css" rel="stylesheet"> + <!-- Just for debugging purposes. Don't actually copy this line! --> + <!--[if lt IE 9]><script src="{{ page.base_url }}docs-assets/js/ie8-responsive-file-warning.js"></script><![endif]--> + <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> diff --git a/examples/navbar/index.html b/examples/navbar/index.html index fc689f8e7..e8f35179b 100644 --- a/examples/navbar/index.html +++ b/examples/navbar/index.html @@ -16,6 +16,9 @@ <!-- Custom styles for this template --> <link href="navbar.css" rel="stylesheet"> + <!-- Just for debugging purposes. Don't actually copy this line! --> + <!--[if lt IE 9]><script src="{{ page.base_url }}docs-assets/js/ie8-responsive-file-warning.js"></script><![endif]--> + <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> diff --git a/examples/non-responsive/index.html b/examples/non-responsive/index.html index cdb0db210..52776e3fc 100644 --- a/examples/non-responsive/index.html +++ b/examples/non-responsive/index.html @@ -18,6 +18,9 @@ <!-- Custom styles for this template --> <link href="non-responsive.css" rel="stylesheet"> + <!-- Just for debugging purposes. Don't actually copy this line! --> + <!--[if lt IE 9]><script src="{{ page.base_url }}docs-assets/js/ie8-responsive-file-warning.js"></script><![endif]--> + <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> diff --git a/examples/offcanvas/index.html b/examples/offcanvas/index.html index a2d973505..e08a86b69 100644 --- a/examples/offcanvas/index.html +++ b/examples/offcanvas/index.html @@ -16,6 +16,9 @@ <!-- Custom styles for this template --> <link href="offcanvas.css" rel="stylesheet"> + <!-- Just for debugging purposes. Don't actually copy this line! --> + <!--[if lt IE 9]><script src="{{ page.base_url }}docs-assets/js/ie8-responsive-file-warning.js"></script><![endif]--> + <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> diff --git a/examples/signin/index.html b/examples/signin/index.html index b0f3e6454..085b36a70 100644 --- a/examples/signin/index.html +++ b/examples/signin/index.html @@ -16,6 +16,9 @@ <!-- Custom styles for this template --> <link href="signin.css" rel="stylesheet"> + <!-- Just for debugging purposes. Don't actually copy this line! --> + <!--[if lt IE 9]><script src="{{ page.base_url }}docs-assets/js/ie8-responsive-file-warning.js"></script><![endif]--> + <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> diff --git a/examples/starter-template/index.html b/examples/starter-template/index.html index 9b6ee4635..112634e15 100644 --- a/examples/starter-template/index.html +++ b/examples/starter-template/index.html @@ -16,6 +16,9 @@ <!-- Custom styles for this template --> <link href="starter-template.css" rel="stylesheet"> + <!-- Just for debugging purposes. Don't actually copy this line! --> + <!--[if lt IE 9]><script src="{{ page.base_url }}docs-assets/js/ie8-responsive-file-warning.js"></script><![endif]--> + <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> diff --git a/examples/sticky-footer-navbar/index.html b/examples/sticky-footer-navbar/index.html index cc2dd59fb..4bc220136 100644 --- a/examples/sticky-footer-navbar/index.html +++ b/examples/sticky-footer-navbar/index.html @@ -16,6 +16,9 @@ <!-- Custom styles for this template --> <link href="sticky-footer-navbar.css" rel="stylesheet"> + <!-- Just for debugging purposes. Don't actually copy this line! --> + <!--[if lt IE 9]><script src="{{ page.base_url }}docs-assets/js/ie8-responsive-file-warning.js"></script><![endif]--> + <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> diff --git a/examples/sticky-footer/index.html b/examples/sticky-footer/index.html index a1e58723b..a5b14822e 100644 --- a/examples/sticky-footer/index.html +++ b/examples/sticky-footer/index.html @@ -16,6 +16,9 @@ <!-- Custom styles for this template --> <link href="sticky-footer.css" rel="stylesheet"> + <!-- Just for debugging purposes. Don't actually copy this line! --> + <!--[if lt IE 9]><script src="{{ page.base_url }}docs-assets/js/ie8-responsive-file-warning.js"></script><![endif]--> + <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> diff --git a/examples/theme/index.html b/examples/theme/index.html index 9dcf424c5..a0bad8793 100644 --- a/examples/theme/index.html +++ b/examples/theme/index.html @@ -18,6 +18,9 @@ <!-- Custom styles for this template --> <link href="theme.css" rel="stylesheet"> + <!-- Just for debugging purposes. Don't actually copy this line! --> + <!--[if lt IE 9]><script src="{{ page.base_url }}docs-assets/js/ie8-responsive-file-warning.js"></script><![endif]--> + <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> |
