diff --git a/_includes/header.html b/_includes/header.html index 1885b58eb1050a9329c495940ff2e8d5e88eca65..41ecfc8e4fd1ccd9ec0b2e1c6cc4f2915b806fb4 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 0000000000000000000000000000000000000000..f5dd74fc4b89acd257eaa977ee2681092207555d --- /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 8764b2015d4f37031dad1f2b76828a2f0cfb318b..a9d5d02bb59e435c880b9d0b8be792ccfee4c3b2 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 b058ac1735ae21291004e5956542645bed605555..d3159e631830df9476456e2a6a7a36829dce1bc4 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 a393a1934f8f3f60d1d42b8e41e6d8277b268a4b..d0d6175f1211ac3623ed8170d6813fba11712561 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 afa88bcac0d92e571380effc919d3803d45d0866..59896e662ed7c013803eb8fb1e75ae4ea1bd148f 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 884422f19a7d047a0e7d602d89bcd2961bf831dd..3b40fd324eee3a868ecfddddf18814e4fb4c0ca6 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 c6481ee16b7f20a858c6d84a7717bff337dd2dd2..6b38d7bff16d73a4d428154089d8394162ca583a 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 6f4ac141c4ac5ad0602f5328566164869d34c557..a17594e0c1cdbb0df268bb716986b498ce19ef4e 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 fc689f8e705a4a9545fb8a695770658200acce2a..e8f35179b960069aa71bebc5b5b3a74e78c82f63 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 cdb0db210963279be98fe0ea2885e4910afb24d9..52776e3fc43300104eb1f5a1bc5164732a0aa737 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 a2d973505650b120cd3f8e7950e75e849dfd6e3a..e08a86b69d0937caac21e931c7c62ffdec966e5e 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 b0f3e64541944910a2c277d7507c54687cf1cda3..085b36a7031319cd711cfb00818bd919ca551765 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 9b6ee4635fed6ab3507549ed426e0806b3fd9b89..112634e15bf8c0b83cd1cf8ce5eac9322328ffaf 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 cc2dd59fb68bced9ce3789ecbea2d4c40c6bc0f3..4bc2201368f982ca898024ba0a4efc6145b5bd72 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 a1e58723bf25432bbd71d053015fdd21d17edd43..a5b14822e47b7d83471ec3fde68bad83c3a68986 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 9dcf424c5666fd480ebf0facb226618419908338..a0bad87934b8b4eb0e61cc3c83c5e8b29f4199d1 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>