From 019e547ed9c4b26eeb37aa98fa0c9f3790d8d81e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jo=CC=88rn=20Zaefferer?= Date: Sat, 7 Dec 2013 17:12:51 +0100 Subject: [PATCH] Gruntfile: Formatting --- Gruntfile.js | 18 +++++++++--------- 1 file 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" ]); }; -- 2.39.5