diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2013-12-07 17:12:51 +0100 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2013-12-07 17:12:51 +0100 |
commit | 019e547ed9c4b26eeb37aa98fa0c9f3790d8d81e (patch) | |
tree | 982ad575ba6fb74eaff3559f943edb22c49562ae /Gruntfile.js | |
parent | c3d382e9013674bd1bd78e327fca4257c200d357 (diff) | |
download | jquery-ui-019e547ed9c4b26eeb37aa98fa0c9f3790d8d81e.tar.gz jquery-ui-019e547ed9c4b26eeb37aa98fa0c9f3790d8d81e.zip |
Gruntfile: Formatting
Diffstat (limited to 'Gruntfile.js')
-rw-r--r-- | Gruntfile.js | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/Gruntfile.js b/Gruntfile.js index 24b9632f0..356fa458f 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -19,8 +19,8 @@ var uiFiles = coreFiles.map(function( file ) { return "ui/" + file; }).concat( expandFiles( "ui/*.js" ).filter(function( file ) { - return coreFiles.indexOf( file.substring(3) ) === -1; - })), + return coreFiles.indexOf( file.substring( 3 ) ) === -1; + }) ), allI18nFiles = expandFiles( "ui/i18n/*.js" ), @@ -97,7 +97,7 @@ uiFiles.concat( allI18nFiles ).forEach(function( file ) { uiFiles.forEach(function( file ) { // TODO this doesn't do anything until https://github.com/rwldrn/grunt-compare-size/issues/13 - compareFiles[ file ] = [ file, mapMinFile( file ) ]; + compareFiles[ file ] = [ file, mapMinFile( file ) ]; }); // grunt plugins @@ -129,7 +129,7 @@ function createBanner( files ) { } grunt.initConfig({ - pkg: grunt.file.readJSON("package.json"), + pkg: grunt.file.readJSON( "package.json" ), files: { dist: "<%= pkg.name %>-<%= pkg.version %>" }, @@ -205,10 +205,10 @@ grunt.initConfig({ } }); -grunt.registerTask( "default", [ "lint", "test" ] ); -grunt.registerTask( "lint", [ "asciilint", "jshint", "jscs", "csslint", "htmllint" ] ); -grunt.registerTask( "test", [ "qunit" ] ); -grunt.registerTask( "sizer", [ "concat:ui", "uglify:main", "compare_size:all" ] ); -grunt.registerTask( "sizer_all", [ "concat:ui", "uglify", "compare_size" ] ); +grunt.registerTask( "default", [ "lint", "test" ]); +grunt.registerTask( "lint", [ "asciilint", "jshint", "jscs", "csslint", "htmllint" ]); +grunt.registerTask( "test", [ "qunit" ]); +grunt.registerTask( "sizer", [ "concat:ui", "uglify:main", "compare_size:all" ]); +grunt.registerTask( "sizer_all", [ "concat:ui", "uglify", "compare_size" ]); }; |