Release: Lint

(cherry picked from commit 7321df722f)
This commit is contained in:
Rafael Xavier de Souza 2013-06-21 16:31:28 -03:00 committed by Scott González
parent cecc16a46f
commit 40fea6121c
2 changed files with 3 additions and 6 deletions

View File

@ -230,7 +230,6 @@ function buildCDNPackage( callback ) {
add = function( file ) { add = function( file ) {
output.push( file ); output.push( file );
}, },
bundleFiles = [],
jqueryUi = new downloadBuilder.JqueryUi( path.resolve( "." ) ), jqueryUi = new downloadBuilder.JqueryUi( path.resolve( "." ) ),
themeGallery = downloadBuilder.themeGallery( jqueryUi ); themeGallery = downloadBuilder.themeGallery( jqueryUi );
@ -304,11 +303,10 @@ function buildCDNPackage( callback ) {
}).forEach( add ); }).forEach( add );
return callback(); return callback();
}); });
};
}
}).concat([function() { }).concat([function() {
var crypto = require( "crypto" ); var crypto = require( "crypto" );
// Create MD5 manifest // Create MD5 manifest
output.push({ output.push({
path: "MANIFEST", path: "MANIFEST",

View File

@ -2,8 +2,7 @@ module.exports = function( grunt ) {
"use strict"; "use strict";
var path = require( "path" ), var fs = require( "fs" );
fs = require( "fs" );
function expandFiles( files ) { function expandFiles( files ) {
return grunt.util._.pluck( grunt.file.expandMapping( files ), "src" ).filter(function(filepath) { return grunt.util._.pluck( grunt.file.expandMapping( files ), "src" ).filter(function(filepath) {