Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bootstrap
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
bootstrap
Commits
c23d6a27
Commit
c23d6a27
authored
Oct 17, 2013
by
Chris Rebert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Warn about IE8 + Respond.js + file:// problem in examples; fix #11019
parent
4c043b7d
Changes
17
Show whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
58 additions
and
0 deletions
+58
-0
_includes/header.html
_includes/header.html
+1
-0
docs-assets/js/ie8-responsive-file-warning.js
docs-assets/js/ie8-responsive-file-warning.js
+12
-0
examples/carousel/index.html
examples/carousel/index.html
+3
-0
examples/grid/index.html
examples/grid/index.html
+3
-0
examples/jumbotron-narrow/index.html
examples/jumbotron-narrow/index.html
+3
-0
examples/jumbotron/index.html
examples/jumbotron/index.html
+3
-0
examples/justified-nav/index.html
examples/justified-nav/index.html
+3
-0
examples/navbar-fixed-top/index.html
examples/navbar-fixed-top/index.html
+3
-0
examples/navbar-static-top/index.html
examples/navbar-static-top/index.html
+3
-0
examples/navbar/index.html
examples/navbar/index.html
+3
-0
examples/non-responsive/index.html
examples/non-responsive/index.html
+3
-0
examples/offcanvas/index.html
examples/offcanvas/index.html
+3
-0
examples/signin/index.html
examples/signin/index.html
+3
-0
examples/starter-template/index.html
examples/starter-template/index.html
+3
-0
examples/sticky-footer-navbar/index.html
examples/sticky-footer-navbar/index.html
+3
-0
examples/sticky-footer/index.html
examples/sticky-footer/index.html
+3
-0
examples/theme/index.html
examples/theme/index.html
+3
-0
No files found.
_includes/header.html
View file @
c23d6a27
...
...
@@ -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]>
...
...
docs-assets/js/ie8-responsive-file-warning.js
0 → 100644
View file @
c23d6a27
// 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!
\n
See getbootstrap.com/getting-started/#respond-file-proto for details.
"
)
examples/carousel/index.html
View file @
c23d6a27
...
...
@@ -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>
...
...
examples/grid/index.html
View file @
c23d6a27
...
...
@@ -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>
...
...
examples/jumbotron-narrow/index.html
View file @
c23d6a27
...
...
@@ -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>
...
...
examples/jumbotron/index.html
View file @
c23d6a27
...
...
@@ -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>
...
...
examples/justified-nav/index.html
View file @
c23d6a27
...
...
@@ -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>
...
...
examples/navbar-fixed-top/index.html
View file @
c23d6a27
...
...
@@ -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>
...
...
examples/navbar-static-top/index.html
View file @
c23d6a27
...
...
@@ -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>
...
...
examples/navbar/index.html
View file @
c23d6a27
...
...
@@ -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>
...
...
examples/non-responsive/index.html
View file @
c23d6a27
...
...
@@ -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>
...
...
examples/offcanvas/index.html
View file @
c23d6a27
...
...
@@ -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>
...
...
examples/signin/index.html
View file @
c23d6a27
...
...
@@ -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>
...
...
examples/starter-template/index.html
View file @
c23d6a27
...
...
@@ -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>
...
...
examples/sticky-footer-navbar/index.html
View file @
c23d6a27
...
...
@@ -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>
...
...
examples/sticky-footer/index.html
View file @
c23d6a27
...
...
@@ -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>
...
...
examples/theme/index.html
View file @
c23d6a27
...
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment