Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
brainfood
/
grunt-monty-python
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
3c798b39
authored
2015-07-23 14:54:39 -0500
by
Adam Heath
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Fix loading of sub-grunt tasks.
1 parent
81a7bd37
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
3 deletions
grunt-monty-python.js
grunt-monty-python.js
View file @
3c798b3
...
...
@@ -12,8 +12,8 @@ module.exports = function (grunt) {
var
initConfig
=
{};
var
checkList
=
[];
grunt
.
loadNpmTasks
(
'grunt-monty-python'
);
if
(
mpConfig
.
jshint
)
{
grunt
.
loadNpmTasks
(
'grunt-contrib-jshint'
);
initConfig
.
jshint
=
{
options
:
mpConfig
.
jshint
.
options
,
all
:
[
...
...
@@ -37,14 +37,12 @@ module.exports = function (grunt) {
}
if
(
mpConfig
.
csslint
)
{
grunt
.
loadNpmTasks
(
'grunt-contrib-csslint'
);
initConfig
.
csslint
=
{
};
checkList
.
push
(
'csslint'
);
}
if
(
mpConfig
.
htmlmin
)
{
grunt
.
loadNpmTasks
(
'grunt-contrib-htmlmin'
);
initConfig
.
htmlmin
=
{
};
checkList
.
push
(
'htmlmin'
);
...
...
Please
register
or
sign in
to post a comment