diff options
author | Samy Pessé <samypesse@gmail.com> | 2015-10-05 10:43:21 +0200 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2015-10-05 10:43:21 +0200 |
commit | 14bb659b754e6da17cb8910a119d4d52c354776f (patch) | |
tree | 5bd9bfc00e56d5df27be46de02051333a30e11e2 /lib/configuration.js | |
parent | eab3c50288a0fa35237bd38536ee1f223250beaf (diff) | |
download | gitbook-14bb659b754e6da17cb8910a119d4d52c354776f.zip gitbook-14bb659b754e6da17cb8910a119d4d52c354776f.tar.gz gitbook-14bb659b754e6da17cb8910a119d4d52c354776f.tar.bz2 |
Update lodash for client side code
Diffstat (limited to 'lib/configuration.js')
-rw-r--r-- | lib/configuration.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/configuration.js b/lib/configuration.js index 93dc29c..35aec7d 100644 --- a/lib/configuration.js +++ b/lib/configuration.js @@ -140,7 +140,7 @@ Configuration.prototype.load = function() { .then(function() { if (!that.book.isSubBook()) { if (!semver.satisfies(pkg.version, that.options.gitbook)) { - throw new Error('GitBook version doesn't satisfy version required by the book: '+that.options.gitbook); + throw new Error('GitBook version doesn\'t satisfy version required by the book: '+that.options.gitbook); } if (that.options.gitbook != '*' && !semver.satisfies(semver.inc(pkg.version, 'patch'), that.options.gitbook)) { that.book.log.warn.ln('gitbook version specified in your book.json might be too strict for future patches, \''+(_.first(pkg.version.split('.'))+'.x.x')+'\' is more adequate'); @@ -230,7 +230,7 @@ Configuration.DEFAULT = { // Global configuration for plugins 'pluginsConfig': { 'fontSettings': { - 'theme': null, //'sepia', 'night' or 'white', + 'theme': null, // 'sepia', 'night' or 'white', 'family': 'sans',// 'serif' or 'sans', 'size': 2 // 1 - 4 } @@ -248,7 +248,7 @@ Configuration.DEFAULT = { 'links': { // Custom links at top of sidebar 'sidebar': { - //'Custom link name': 'https://customlink.com' + // 'Custom link name': 'https://customlink.com' }, // Sharing links @@ -294,10 +294,10 @@ Configuration.DEFAULT = { 'bottom': 56 }, - //Header HTML template. Available variables: _PAGENUM_, _TITLE_, _AUTHOR_ and _SECTION_. + // Header HTML template. Available variables: _PAGENUM_, _TITLE_, _AUTHOR_ and _SECTION_. 'headerTemplate': '', - //Footer HTML template. Available variables: _PAGENUM_, _TITLE_, _AUTHOR_ and _SECTION_. + // Footer HTML template. Available variables: _PAGENUM_, _TITLE_, _AUTHOR_ and _SECTION_. 'footerTemplate': '' } }; |