summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/book.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/book.js b/lib/book.js
index b481818..0ff9930 100644
--- a/lib/book.js
+++ b/lib/book.js
@@ -89,7 +89,7 @@ Book.LOG_LEVELS = {
// Initialize and parse the book: config, summary, glossary
Book.prototype.parse = function() {
var that = this;
- var multilingal = false;
+ var multilingual = false;
that.logDebug("start parsing configuration");
@@ -102,7 +102,7 @@ Book.prototype.parse = function() {
.then(function() {
return that.parseLangs()
.then(function() {
- multilingal = that.langs.length > 0;
+ multilingual = that.langs.length > 0;
if (multilingual) that.logInfo("Parsing multilingual book, with", that.langs.length, "lanuages");
// Sub-books that inherit from the current book configuration
@@ -123,19 +123,19 @@ Book.prototype.parse = function() {
})
.then(function() {
- if (multilingal) return;
+ if (multilingual) return;
return that.listAllFiles();
})
.then(function() {
- if (multilingal) return;
+ if (multilingual) return;
return that.parseReadme();
})
.then(function() {
- if (multilingal) return;
+ if (multilingual) return;
return that.parseSummary();
})
.then(function() {
- if (multilingal) return;
+ if (multilingual) return;
return that.parseGlossary();
})