aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rw-r--r--build/release/release.js6
-rw-r--r--build/tasks/build.js3
2 files changed, 3 insertions, 6 deletions
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) {