Skip to content

Commit c60712d

Browse files
committed
Gruntfile.js: Fix JSHint issues.
1 parent d6941b9 commit c60712d

File tree

1 file changed

+24
-24
lines changed

1 file changed

+24
-24
lines changed

Gruntfile.js

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
11
module.exports = function(grunt) {
22

3-
// Project configuration.
4-
grunt.initConfig({
5-
pkg: grunt.file.readJSON('package.json'),
6-
uglify: {
7-
options: {
8-
preserveComments: 'some'
9-
},
10-
build: {
11-
src: 'jquery.mousewheel.js',
12-
dest: 'build/jquery.mousewheel.min.js'
13-
}
14-
},
15-
jshint: {
16-
options: {
17-
jshintrc: '.jshintrc'
18-
},
19-
all: ['*.js']
20-
}
21-
});
3+
// Project configuration.
4+
grunt.initConfig({
5+
pkg: grunt.file.readJSON('package.json'),
6+
uglify: {
7+
options: {
8+
preserveComments: 'some'
9+
},
10+
build: {
11+
src: 'jquery.mousewheel.js',
12+
dest: 'build/jquery.mousewheel.min.js'
13+
}
14+
},
15+
jshint: {
16+
options: {
17+
jshintrc: '.jshintrc'
18+
},
19+
all: ['*.js']
20+
}
21+
});
2222

23-
// Load the plugin that provides the 'uglify' task.
24-
grunt.loadNpmTasks('grunt-contrib-uglify');
25-
grunt.loadNpmTasks('grunt-contrib-jshint');
23+
// Load the plugin that provides the 'uglify' task.
24+
grunt.loadNpmTasks('grunt-contrib-uglify');
25+
grunt.loadNpmTasks('grunt-contrib-jshint');
2626

27-
// Default task(s).
28-
grunt.registerTask('default', ['jshint', 'uglify']);
27+
// Default task(s).
28+
grunt.registerTask('default', ['jshint', 'uglify']);
2929

3030
};

0 commit comments

Comments
 (0)