summaryrefslogtreecommitdiffstats
path: root/lib/page
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2016-02-24 13:52:15 +0100
committerSamy Pessé <samypesse@gmail.com>2016-02-24 13:52:15 +0100
commit1ed63ce4f52aacac7134d6f6cff9773bec73fb18 (patch)
treee838249f6719685e70da34f917b0158fa1cbbe42 /lib/page
parente85ad95bcf3627a223b3a2eacaa29835142249eb (diff)
downloadgitbook-1ed63ce4f52aacac7134d6f6cff9773bec73fb18.zip
gitbook-1ed63ce4f52aacac7134d6f6cff9773bec73fb18.tar.gz
gitbook-1ed63ce4f52aacac7134d6f6cff9773bec73fb18.tar.bz2
Add context for multi-lingual books
Diffstat (limited to 'lib/page')
-rw-r--r--lib/page/index.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/page/index.js b/lib/page/index.js
index 45b3598..b512ff4 100644
--- a/lib/page/index.js
+++ b/lib/page/index.js
@@ -128,6 +128,7 @@ Page.prototype.getContext = function() {
},
gitbook.getContext(),
this.book.getContext(),
+ this.book.langs.getContext(),
this.book.summary.getContext(),
this.book.glossary.getContext(),
this.book.config.getContext()