Minor modifs to grunt file

bzr revid: nicolas.vanhoren@openerp.com-20130725120742-0omjb6l80kwon2vi
This commit is contained in:
niv-openerp 2013-07-25 14:07:42 +02:00
parent ec9ae7ec81
commit faffe8805c
1 changed files with 13 additions and 13 deletions

View File

@ -1,20 +1,20 @@
module.exports = function(grunt) {
grunt.initConfig({
jshint: {
files: ['static/src/**/*.js', 'static/test/**/*.js'],
options: {
sub: true, //[] instead of .
evil: true, //eval
laxbreak: true, //unsafe line breaks
},
}
});
grunt.initConfig({
jshint: {
src: ['static/src/**/*.js', 'static/test/**/*.js'],
options: {
sub: true, //[] instead of .
evil: true, //eval
laxbreak: true, //unsafe line breaks
},
}
});
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.registerTask('test', ['jshint']);
grunt.registerTask('test', ['jshint']);
grunt.registerTask('default', ['jshint']);
grunt.registerTask('default', ['jshint']);
};