]> source.dussan.org Git - jquery-ui.git/commitdiff
Release: Lint
authorRafael Xavier de Souza <rxaviers@gmail.com>
Fri, 21 Jun 2013 19:31:28 +0000 (16:31 -0300)
committerScott González <scott.gonzalez@gmail.com>
Tue, 26 Nov 2013 16:18:16 +0000 (11:18 -0500)
(cherry picked from commit 7321df722ff87982d0c1c58c6859dc956cb87f13)

build/release/release.js
build/tasks/build.js

index ae5ef1bd80ca10735bd31bd2b6e7ce3365704085..e23a7a99fb5c3279c58be8bcfa43906aa622e641 100644 (file)
@@ -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",
index 507bc6e11948c4696e318179808bff27d096ba0a..4d803df77c5ddaf9e0db6f0d9bceeaf8db8c8c04 100644 (file)
@@ -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) {