Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
4fae5a6f
Commit
4fae5a6f
authored
9 years ago
by
XhmikosR
Browse files
Options
Download
Email Patches
Plain Diff
Fix `grunt validate-html` task.
parent
108ef992
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Gruntfile.js
+3
-3
Gruntfile.js
with
3 additions
and
3 deletions
+3
-3
Gruntfile.js
+
3
-
3
View file @
4fae5a6f
/*!
/*!
* Bootstrap's Gruntfile
* Bootstrap's Gruntfile
* http://getbootstrap.com
* http://getbootstrap.com
* Copyright 2013-201
4
Twitter, Inc.
* Copyright 2013-201
5
Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
*/
...
@@ -336,6 +336,7 @@ module.exports = function (grunt) {
...
@@ -336,6 +336,7 @@ module.exports = function (grunt) {
jekyll
:
{
jekyll
:
{
options
:
{
options
:
{
bundleExec
:
true
,
config
:
'
_config.yml
'
config
:
'
_config.yml
'
},
},
docs
:
{},
docs
:
{},
...
@@ -350,7 +351,6 @@ module.exports = function (grunt) {
...
@@ -350,7 +351,6 @@ module.exports = function (grunt) {
options
:
{
options
:
{
ignore
:
[
ignore
:
[
'
Element “img” is missing required attribute “src”.
'
,
'
Element “img” is missing required attribute “src”.
'
,
'
Bad value “X-UA-Compatible” for attribute “http-equiv” on element “meta”.
'
,
'
Attribute “autocomplete” not allowed on element “input” at this point.
'
,
'
Attribute “autocomplete” not allowed on element “input” at this point.
'
,
'
Attribute “autocomplete” not allowed on element “button” at this point.
'
,
'
Attribute “autocomplete” not allowed on element “button” at this point.
'
,
'
Element “div” not allowed as child of element “progress” in this context. (Suppressing further errors from this subtree.)
'
,
'
Element “div” not allowed as child of element “progress” in this context. (Suppressing further errors from this subtree.)
'
,
...
@@ -438,7 +438,7 @@ module.exports = function (grunt) {
...
@@ -438,7 +438,7 @@ module.exports = function (grunt) {
require
(
'
time-grunt
'
)(
grunt
);
require
(
'
time-grunt
'
)(
grunt
);
// Docs HTML validation task
// Docs HTML validation task
grunt
.
registerTask
(
'
validate-html
'
,
[
'
jekyll:docs
'
]);
grunt
.
registerTask
(
'
validate-html
'
,
[
'
jekyll:docs
'
,
'
htmllint
'
]);
var
runSubset
=
function
(
subset
)
{
var
runSubset
=
function
(
subset
)
{
return
!
process
.
env
.
TWBS_TEST
||
process
.
env
.
TWBS_TEST
===
subset
;
return
!
process
.
env
.
TWBS_TEST
||
process
.
env
.
TWBS_TEST
===
subset
;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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