1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

Merge pull request #19029 from twbs/v4-dev-xmr-grunt-html

Update grunt-html
This commit is contained in:
XhmikosR 2016-02-19 12:07:14 +02:00
commit a483f60c53
10 changed files with 14 additions and 22 deletions

View file

@ -1,4 +1,5 @@
sudo: false sudo: required
dist: trusty
language: node_js language: node_js
git: git:
depth: 10 depth: 10

View file

@ -327,8 +327,7 @@ module.exports = function (grunt) {
'The “datetime-local” input type is not supported in all browsers. Please be sure to test, and consider using a polyfill.', 'The “datetime-local” input type is not supported in all browsers. Please be sure to test, and consider using a polyfill.',
'The “month” input type is not supported in all browsers. Please be sure to test, and consider using a polyfill.', 'The “month” input type is not supported in all browsers. Please be sure to test, and consider using a polyfill.',
'The “time” input type is not supported in all browsers. Please be sure to test, and consider using a polyfill.', 'The “time” input type is not supported in all browsers. Please be sure to test, and consider using a polyfill.',
'The “week” input type is not supported in all browsers. Please be sure to test, and consider using a polyfill.', 'The “week” input type is not supported in all browsers. Please be sure to test, and consider using a polyfill.'
'Attribute “integrity” not allowed on element “script” at this point.' // Until https://github.com/jzaefferer/grunt-html/issues/86 gets fixed
] ]
}, },
src: ['_gh_pages/**/*.html', 'js/tests/visual/*.html'] src: ['_gh_pages/**/*.html', 'js/tests/visual/*.html']

View file

@ -1,4 +1,4 @@
<footer class="bd-footer text-muted" role="contentinfo"> <footer class="bd-footer text-muted">
<div class="container"> <div class="container">
<ul class="bd-footer-links"> <ul class="bd-footer-links">
<li><a href="{{ site.repo }}">GitHub</a></li> <li><a href="{{ site.repo }}">GitHub</a></li>

View file

@ -1,4 +1,4 @@
<header class="navbar navbar-light navbar-static-top bd-navbar" role="banner"> <header class="navbar navbar-light navbar-static-top bd-navbar">
<div class="container"> <div class="container">
{% comment %} {% comment %}
<nav class="nav navbar-nav pull-xs-right"> <nav class="nav navbar-nav pull-xs-right">

View file

@ -14,7 +14,7 @@ group: components
The ScrollSpy plugin is for automatically updating nav targets based on scroll position. Scroll the area below the navbar and watch the active class change. The dropdown sub items will be highlighted as well. The ScrollSpy plugin is for automatically updating nav targets based on scroll position. Scroll the area below the navbar and watch the active class change. The dropdown sub items will be highlighted as well.
<div class="bd-example"> <div class="bd-example">
<nav id="navbar-example2" class="navbar navbar-default" role="navigation"> <nav id="navbar-example2" class="navbar navbar-default">
<h3 class="navbar-brand">Project Name</h3> <h3 class="navbar-brand">Project Name</h3>
<ul class="nav nav-pills"> <ul class="nav nav-pills">
<li class="nav-item"><a class="nav-link" href="#fat">@fat</a></li> <li class="nav-item"><a class="nav-link" href="#fat">@fat</a></li>

View file

@ -3,7 +3,7 @@ layout: home
title: Bootstrap &middot; The world's most popular mobile-first and responsive front-end framework. title: Bootstrap &middot; The world's most popular mobile-first and responsive front-end framework.
--- ---
<main class="bd-masthead" id="content" role="main"> <main class="bd-masthead" id="content">
<div class="container"> <div class="container">
<span class="bd-booticon outline">B</span> <span class="bd-booticon outline">B</span>
<p class="lead">Bootstrap is the most popular HTML, CSS, and JS framework in the world for building responsive, mobile-first projects on the web.</p> <p class="lead">Bootstrap is the most popular HTML, CSS, and JS framework in the world for building responsive, mobile-first projects on the web.</p>

View file

@ -1173,20 +1173,12 @@
"resolved": "https://registry.npmjs.org/grunt-exec/-/grunt-exec-0.4.6.tgz" "resolved": "https://registry.npmjs.org/grunt-exec/-/grunt-exec-0.4.6.tgz"
}, },
"grunt-html": { "grunt-html": {
"version": "5.0.1", "version": "6.0.0",
"resolved": "https://registry.npmjs.org/grunt-html/-/grunt-html-5.0.1.tgz", "resolved": "https://registry.npmjs.org/grunt-html/-/grunt-html-6.0.0.tgz",
"dependencies": { "dependencies": {
"async": { "async": {
"version": "1.4.0", "version": "1.5.1",
"resolved": "https://registry.npmjs.org/async/-/async-1.4.0.tgz" "resolved": "https://registry.npmjs.org/async/-/async-1.5.1.tgz"
},
"chalk": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.0.tgz"
},
"supports-color": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz"
} }
} }
}, },

View file

@ -15,7 +15,7 @@
<h1>Dropdown <small>Bootstrap Visual Test</small></h1> <h1>Dropdown <small>Bootstrap Visual Test</small></h1>
</div> </div>
<nav id="navbar-example" class="navbar navbar-light bg-faded" role="navigation"> <nav id="navbar-example" class="navbar navbar-light bg-faded">
<button class="navbar-toggler hidden-sm-up" type="button" data-toggle="collapse" data-target="#exCollapsingNavbar2"> <button class="navbar-toggler hidden-sm-up" type="button" data-toggle="collapse" data-target="#exCollapsingNavbar2">
&#9776; &#9776;
</button> </button>

View file

@ -14,7 +14,7 @@
<div class="container"> <div class="container">
<nav class="navbar navbar-dark navbar-fixed-top bg-inverse" role="navigation"> <nav class="navbar navbar-dark navbar-fixed-top bg-inverse">
<div class="js-navbar-scrollspy"> <div class="js-navbar-scrollspy">
<ul class="nav navbar-nav"> <ul class="nav navbar-nav">
<li class="nav-item"><a class="nav-link active" href="#fat">@fat</a></li> <li class="nav-item"><a class="nav-link active" href="#fat">@fat</a></li>

View file

@ -48,7 +48,7 @@
"grunt-contrib-watch": "~0.6.1", "grunt-contrib-watch": "~0.6.1",
"grunt-eslint": "^17.1.0", "grunt-eslint": "^17.1.0",
"grunt-exec": "~0.4.6", "grunt-exec": "~0.4.6",
"grunt-html": "~5.0.0", "grunt-html": "~6.0.0",
"grunt-jekyll": "~0.4.2", "grunt-jekyll": "~0.4.2",
"grunt-jscs": "~2.7.0", "grunt-jscs": "~2.7.0",
"grunt-line-remover": "0.0.2", "grunt-line-remover": "0.0.2",