aboutsummaryrefslogtreecommitdiffstats
path: root/grunt.js
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2012-03-22 13:54:47 +0100
committerJörn Zaefferer <joern.zaefferer@gmail.com>2012-03-22 13:54:47 +0100
commit12832b7c35e2cb9e37ed4aa3f64a3c46eb114310 (patch)
tree2dc5fe2111cf72d97d34ace59f1edead7770efdb /grunt.js
parenta454c5d24632cac110fd36f2cdd3e7402069074f (diff)
downloadjquery-ui-12832b7c35e2cb9e37ed4aa3f64a3c46eb114310.tar.gz
jquery-ui-12832b7c35e2cb9e37ed4aa3f64a3c46eb114310.zip
Build/grunt: Coding standards
Diffstat (limited to 'grunt.js')
-rw-r--r--grunt.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/grunt.js b/grunt.js
index e2d9ebc22..bbc358e4b 100644
--- a/grunt.js
+++ b/grunt.js
@@ -395,7 +395,7 @@ task.registerMultiTask( "md5", "Create list of md5 hashes for CDN uploads", func
var hashes = [];
file.expand( dir + "**/*" ).forEach(function( fileName ) {
var hash = crypto.createHash( "md5" );
- hash.update( file.read( fileName, 'ascii' ) );
+ hash.update( file.read( fileName, "ascii" ) );
hashes.push( fileName.replace( dir, "" ) + " " + hash.digest( "hex" ) );
});
file.write( this.file.dest, hashes.join( "\n" ) + "\n" );
@@ -534,9 +534,9 @@ task.registerHelper( "lpad", function( str, len, chr ) {
return ( Array( len + 1 ).join( chr || " " ) + str ).substr( -len );
});
-task.registerTask("default", "lint csslint qunit build compare_size" );
-task.registerTask("sizer", "concat:ui min:dist/jquery-ui.min.js compare_size" );
-task.registerTask("build", "concat min css_min" );
-task.registerTask("release", "clean build copy:dist copy:dist_min copy:dist_min_images copy:dist_css_min md5:dist zip:dist" );
-task.registerTask("release_themes", "release download_themes copy_themes copy:themes md5:themes zip:themes" );
-task.registerTask("release_cdn", "release_themes copy:cdn copy:cdn_min copy:cdn_i18n copy:cdn_i18n_min copy:cdn_min_images copy:cdn_themes md5:cdn zip:cdn" );
+task.registerTask( "default", "lint csslint qunit build compare_size" );
+task.registerTask( "sizer", "concat:ui min:dist/jquery-ui.min.js compare_size" );
+task.registerTask( "build", "concat min css_min" );
+task.registerTask( "release", "clean build copy:dist copy:dist_min copy:dist_min_images copy:dist_css_min md5:dist zip:dist" );
+task.registerTask( "release_themes", "release download_themes copy_themes copy:themes md5:themes zip:themes" );
+task.registerTask( "release_cdn", "release_themes copy:cdn copy:cdn_min copy:cdn_i18n copy:cdn_i18n_min copy:cdn_min_images copy:cdn_themes md5:cdn zip:cdn" );