Fix jshint warnings in grunt/

Fixes #1052.

Test Plan:
jshint grunt
This commit is contained in:
Ben Alpert
2014-03-30 16:09:08 -07:00
parent 7cbbff01e7
commit 42e20a1488
4 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -110,4 +110,4 @@ module.exports = function(props){
}
return exports;
}
};
+1 -1
View File
@@ -21,7 +21,7 @@ var params = []
)
.concat(reactVersions
.map(encodeURIComponent)
.map(function(version){ return 'react=' + version }
.map(function(version){ return 'react=' + version; }
)
);
+1
View File
@@ -4,6 +4,7 @@ var fs = require('fs');
var grunt = require('grunt');
function pack() {
/*jshint validthis:true */
var done = this.async();
var spawnCmd = {
cmd: 'npm',
+2 -1
View File
@@ -38,6 +38,7 @@ function buildRelease() {
}
function packRelease() {
/*jshint validthis:true */
var done = this.async();
var spawnCmd = {
cmd: 'npm',
@@ -47,7 +48,7 @@ function packRelease() {
}
};
grunt.util.spawn(spawnCmd, function() {
var src = 'build/react-' + grunt.config.data.pkg.version + '.tgz'
var src = 'build/react-' + grunt.config.data.pkg.version + '.tgz';
var dest = 'build/react.tgz';
fs.rename(src, dest, done);
});