]> 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)
committerRafael Xavier de Souza <rxaviers@gmail.com>
Wed, 26 Jun 2013 15:40:58 +0000 (12:40 -0300)
build/release/release.js
build/tasks/build.js

index 32f832acd53e199dad1805957682da6068e44874..78ca2ec4d96670c623a980eb61d9ae271428c418 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) {