From: Rafael Xavier de Souza Date: Fri, 21 Jun 2013 19:31:28 +0000 (-0300) Subject: Release: Lint X-Git-Tag: 1.10.4~64 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=40fea6121c8e0e9b9197ee06637d0708950817d9;p=jquery-ui.git Release: Lint (cherry picked from commit 7321df722ff87982d0c1c58c6859dc956cb87f13) --- diff --git a/build/release/release.js b/build/release/release.js index ae5ef1bd8..e23a7a99f 100644 --- a/build/release/release.js +++ b/build/release/release.js @@ -230,7 +230,6 @@ function buildCDNPackage( callback ) { add = function( file ) { output.push( file ); }, - bundleFiles = [], jqueryUi = new downloadBuilder.JqueryUi( path.resolve( "." ) ), themeGallery = downloadBuilder.themeGallery( jqueryUi ); @@ -304,11 +303,10 @@ function buildCDNPackage( callback ) { }).forEach( add ); return callback(); }); - - } + }; }).concat([function() { var crypto = require( "crypto" ); - + // Create MD5 manifest output.push({ path: "MANIFEST", diff --git a/build/tasks/build.js b/build/tasks/build.js index 507bc6e11..4d803df77 100644 --- a/build/tasks/build.js +++ b/build/tasks/build.js @@ -2,8 +2,7 @@ module.exports = function( grunt ) { "use strict"; -var path = require( "path" ), - fs = require( "fs" ); +var fs = require( "fs" ); function expandFiles( files ) { return grunt.util._.pluck( grunt.file.expandMapping( files ), "src" ).filter(function(filepath) {