]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
update template in getting started docs to reflect shim and respond.js in examples
authorMark Otto <otto@github.com>
Mon, 19 Aug 2013 06:07:36 +0000 (23:07 -0700)
committerMark Otto <otto@github.com>
Mon, 19 Aug 2013 06:07:36 +0000 (23:07 -0700)
getting-started.html

index 6161a3ad5db642ed16c2e576f37acc4634e46a4f..4ce4526c3825aeaa631a50859a7fe8e7879995b9 100644 (file)
@@ -109,6 +109,12 @@ bootstrap/
     <meta name="viewport" content="width=device-width, initial-scale=1.0">
     <!-- Bootstrap -->
     <link href="css/bootstrap.min.css" rel="stylesheet" media="screen">
+
+    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
+    <!--[if lt IE 9]>
+      <script src="../../assets/js/html5shiv.js"></script>
+      <script src="../../assets/js/respond.min.js"></script>
+    <![endif]-->
   </head>
   <body>
     <h1>Hello, world!</h1>
@@ -117,9 +123,6 @@ bootstrap/
     <script src="//code.jquery.com/jquery.js"></script>
     <!-- Include all compiled plugins (below), or include individual files as needed -->
     <script src="js/bootstrap.min.js"></script>
-
-    <!-- Enable responsive features in IE8 with Respond.js (https://github.com/scottjehl/Respond) -->
-    <script src="js/respond.js"></script>
   </body>
 </html>
 {% endhighlight %}