diff options
author | Samy Pessé <samypesse@gmail.com> | 2016-02-25 11:50:20 +0100 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2016-02-25 11:50:20 +0100 |
commit | 702542f4080437270d99b7494981bb2719d73fba (patch) | |
tree | 9232bc3c1f2241fea07b029c49e9506cae121e34 /lib | |
parent | 6990b371a67b77b91c305f901e367c1c70609dcf (diff) | |
download | gitbook-702542f4080437270d99b7494981bb2719d73fba.zip gitbook-702542f4080437270d99b7494981bb2719d73fba.tar.gz gitbook-702542f4080437270d99b7494981bb2719d73fba.tar.bz2 |
Remove duplicate between book.* and config.*
Diffstat (limited to 'lib')
-rw-r--r-- | lib/book.js | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/book.js b/lib/book.js index ef54a1b..d7834ee 100644 --- a/lib/book.js +++ b/lib/book.js @@ -101,12 +101,7 @@ Book.prototype.getContext = function() { return { book: _.extend({ - title: this.config.get('title'), - description: this.config.get('description'), - language: this.config.get('language'), - isbn: this.config.get('isbn'), - author: this.config.get('author'), - direction: this.config.get('direction') + language: this.language }, variables) }; }; |