diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/generators/website.js | 1 | ||||
-rw-r--r-- | lib/index.js | 2 | ||||
-rw-r--r-- | lib/utils/progress.js | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/lib/generators/website.js b/lib/generators/website.js index 18ec65d..ecfd98c 100644 --- a/lib/generators/website.js +++ b/lib/generators/website.js @@ -208,6 +208,7 @@ Generator.prototype._writeTemplate = function(tpl, options, output, interpolate) title: that.options.title, description: that.options.description, language: that.book.config.normalizeLanguage(), + innerlanguage: that.book.isSubBook()? that.book.config.get('language') : null, glossary: that.book.glossary, diff --git a/lib/index.js b/lib/index.js index 5a93a54..a23ec3f 100644 --- a/lib/index.js +++ b/lib/index.js @@ -1,4 +1,4 @@ -/*eslint no-console: 0*/ +/* eslint no-console: 0 */ var Q = require('q'); var _ = require('lodash'); diff --git a/lib/utils/progress.js b/lib/utils/progress.js index 78821ad..8dda892 100644 --- a/lib/utils/progress.js +++ b/lib/utils/progress.js @@ -1,4 +1,4 @@ -var _ = require("lodash"); +var _ = require('lodash'); // Returns from a navigation and a current file, a snapshot of current detailed state function calculProgress(navigation, current) { |