aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorRafael Xavier de Souza <rxaviers@gmail.com>2013-06-21 16:31:28 -0300
committerRafael Xavier de Souza <rxaviers@gmail.com>2013-06-26 12:40:58 -0300
commit7321df722ff87982d0c1c58c6859dc956cb87f13 (patch)
treea13a5bc2dea37d806c77e1fc2d41eaa0ed24a4ce /build
parentece91a5c3b37a6aaf6077060af98b7274af2ae92 (diff)
downloadjquery-ui-7321df722ff87982d0c1c58c6859dc956cb87f13.tar.gz
jquery-ui-7321df722ff87982d0c1c58c6859dc956cb87f13.zip
Release: Lint
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) {