File tree Expand file tree Collapse file tree 1 file changed +24
-24
lines changed Expand file tree Collapse file tree 1 file changed +24
-24
lines changed Original file line number Diff line number Diff line change 11module . 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} ;
You can’t perform that action at this time.
0 commit comments