diff options
author | Samy Pessé <samypesse@gmail.com> | 2015-09-15 14:21:27 +0200 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2015-09-15 14:21:27 +0200 |
commit | 6732957e42350b3aefa4b1c80371baea92950651 (patch) | |
tree | 1605473bf22c7e4ab90a6cc9bebf5cb807fa1d90 /lib/generators/json.js | |
parent | 5f56098ae7fae80a4dd75a944c38201560b480c6 (diff) | |
parent | 1fd00068595dfced5a0f16ac05ae2553d09608bc (diff) | |
download | gitbook-6732957e42350b3aefa4b1c80371baea92950651.zip gitbook-6732957e42350b3aefa4b1c80371baea92950651.tar.gz gitbook-6732957e42350b3aefa4b1c80371baea92950651.tar.bz2 |
Merge pull request #930 from GitbookIO/jshint
Add config for jshint and fix lint errors
Diffstat (limited to 'lib/generators/json.js')
-rw-r--r-- | lib/generators/json.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/generators/json.js b/lib/generators/json.js index 6c9439d..446ef0d 100644 --- a/lib/generators/json.js +++ b/lib/generators/json.js @@ -13,7 +13,7 @@ var Generator = function() { util.inherits(Generator, BaseGenerator); // Ignore some methods -Generator.prototype.transferFile = function(input) { }; +Generator.prototype.transferFile = function() { }; // Convert an input file Generator.prototype.convertFile = function(input) { @@ -44,7 +44,7 @@ Generator.prototype.finish = function() { // Write README.json Generator.prototype.writeReadme = function() { var that = this; - var mainlang, langs; + var mainLang, langs, readme; return Q() .then(function() { |