From: Rafael Xavier de Souza Date: Fri, 21 Jun 2013 19:31:28 +0000 (-0300) Subject: Release: Lint X-Git-Tag: 1.11.0-beta.1~288 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=7321df722ff87982d0c1c58c6859dc956cb87f13;p=jquery-ui.git Release: Lint --- diff --git a/build/release/release.js b/build/release/release.js index 32f832acd..78ca2ec4d 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) {